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

Total Post:110

Posted on    July-19-2013 3:02 AM


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

Vijay Shukla

Total Post:100

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