DCSIMG
Tab Control - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » Tab Control (RSS)

Silverlight Quick Tip: How to change Tab Items order

I’ve got a question from my colleague about how he could change the order of Tab Items according to some business logic. When adding the TabItem to the Tab control dynamically (from code behind for example) the TabItems will be added in the order they added. Here is the simple solution of hot change the order of already added tabs. In my case I have simple XAML with Tab Control: < controls : TabControl Width ="400" Height ="200" x : Name ="tabs" Margin ="5">...