Link to home
Start Free TrialLog in
Avatar of k_swapnil
k_swapnilFlag for India

asked on

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.

Thx!
Swaps... User generated image
Avatar of Shahan Ayyub
Shahan Ayyub
Flag of Pakistan image

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.
......
......
......
......
......


Keep Tab N as it is.


Cheers,
-Shahan


before.PNG
after.PNG
ASKER CERTIFIED SOLUTION
Avatar of k_swapnil
k_swapnil
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial