Tab Control Data Binding
I have a tab control as follows and the ItemSource is Binded to a Dictionary.
How do I get the tab control to pass the value of the Dictionary to the ItemTemplate and ContentTemplate instead of a KeyValuePair? Also another similar question that I have is that, is it possible to databind the Value or Key of a KeyValuePair to a datatemplate for example, and the child elements of that DataTemplate would be able to reference the properties the of Value instead of Value.PropertyName
1 Reply
Nvm I solved it by Databinding the Value of the KeyValuePair to the DataContext of the Stack panel