❔ Setting tab name dynamically
I am trying to set the header for a tab in a tabcontroll based on the content, but struggle to make it work.
I have the following wpf layout:
CurrentEditorsList is a UserControl where the DataContext is set to an object which has an object DisplayName.Value.
I have also tried DataContext.DisplayName.Value, but it also does not work.
How do I reference the content of the user control in this context?
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.