Hello,
I have a TabControl whos ItemsSource is bound to an ObservableCollection of some view model. The view model contains an "IsReadOnly" property. I would like to show an icon (a lock of some kind) on the tab header items that are bound to view models with IsReadOnly flag set to true. How would I go about this?
While I am at it, how would I go about setting the same width for all tab items? They are bound to a string property from the same view model.
Many thanks,
Simon
I have a TabControl whos ItemsSource is bound to an ObservableCollection of some view model. The view model contains an "IsReadOnly" property. I would like to show an icon (a lock of some kind) on the tab header items that are bound to view models with IsReadOnly flag set to true. How would I go about this?
While I am at it, how would I go about setting the same width for all tab items? They are bound to a string property from the same view model.
Many thanks,
Simon