Hi,
I want to load the tab's content dynamically, when a tab is clicked and to do that I need to identify which tab has been selected.
Currently I have two poor solutions :
- The TabEvents Selected that gives me the tab but the only way to know what IS the tab is to check the Header.Text property, which is far from ideal (not reliable enough)
- The SfTab.SelectedItem that gives the index of the selected tab, but index is also not reliable enough if I have some TabItem with dynamic Visible property (the index are not fixed as it depends on the number of visible tabs. Visible=false/true will change index).
So I'd like to have kind of ID property to set on TabItem to be sure I can clearly identify what tab has been clicked/selected.
KR,
Julien