Can we set the width of the tabcontrol according to the containter Control?
The tab control size should increase according to the usercontrol size.
1 Answer, 1 is accepted
answered on 20 Aug 2010, 07:15 AM
Hello josephine shirley,
By default the TabControl stretches to fill the Container's size. (no Width/Height or any Alignment property should be set). You can use for example Margin to have an ofset from the Container.
If you need more complicated scenario - you can bind the Width and Height proeprties of the tab to the named container's (using ElementName binding) Widht and Height proeprties and have custom logic in Converter for example.
If you give us more details we can create example for you.
Hope this will help you.
All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items