Home > DeveloperSection > Forums > Open a tab o button click WPF.
Jeet Verma
Jeet Verma

Total Post:110

Points:776
Posted on    July-19-2013 3:02 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 733  View(s)
Rate this:
How to open a tab of WPF tab control on button click?



Vijay Shukla

Total Post:100

Points:700
Posted on    July-19-2013 6:35 AM

Write the below line of code in button click event:-

tabControlName.SelectedIndex=0; // 0 (zero) use for the 0 (zeroth index of tab control).


Don't want to miss updates? Please click the below button!

Follow MindStick