Onet Two
Onet Two

Reputation: 25

Prism and TabControl and TabIndex

I want to put views in the same order into a TabControl every time. Now the order of my tabs is random, bacause of the loading of the modules, I gues. How to setup the TabIndex if I use TabControl as a region with prism?

Upvotes: 1

Views: 742

Answers (1)

Muhammad Hasan Khan
Muhammad Hasan Khan

Reputation: 35126

Put a ViewSortHint attribute on your view concrete class and prism will sort your views/tabs in the same order as the sort hint describes

Upvotes: 1

Related Questions