TabControl - Fixing a Tab Item to right most position
Hi,
I need to make a Style of WPF TabControl in which one Item is fixed at the rightmost corner and rest are on the left side. Please see the attached image to get a more clear view.
You can add tabs and set the visibility property to Hidden.
like this:
tab1 tab2 tab3 tab4 tab5........................................................... tab N
if you to visible tabs: 1,2,3 and tab N
click on tab 4 and in property window see the Visibility property and set to Hidden.
click on tab 5 and in property window see the Visibility property and set to Hidden.
......
......
......
......
......
like this:
tab1 tab2 tab3 tab4 tab5......................
if you to visible tabs: 1,2,3 and tab N
click on tab 4 and in property window see the Visibility property and set to Hidden.
click on tab 5 and in property window see the Visibility property and set to Hidden.
......
......
......
......
......
Keep Tab N as it is.
Cheers,
-Shahan
before.PNG
after.PNG