How can I set the tab order for multiple controls in XAML
Do I have to manually set the TabIndex property of each control on my page, or is there a way I can select multiple controls and get either Expression Blend or Visual Studio to apply the tab index开发者_高级运维 in the order I selected them.
I know this is a feature of other UI tools, but it seems Blend / VS doesn't have this option. If I have a page with many fields that could change position or add a new fields in half way it takes a lot of effort for not much gain to manually update all the tab indexes.
Why is the default tab order not sufficient? It's constructed from the ordering of the visual tree. Simply move your XAML around to create a different tab order; set IsTabStop to false to remove that control from the tab order.
I was able to solve this by setting IsTabStop="False"
on the container element.
精彩评论