Represents a WPF control which can contain a single piece of content that can be of any type.
I need to bind a TextBox that meets two criteria: IsEnabled if Text.Length > 0 IsEnabled if user.IsEnabled Where …
wpf textbox contentcontrol isenabledI want the ContentTemplate to vary according to the value in the DataTrigger. And yes, I considered using a DataTemplateSelector, …
wpf datatemplate binding datatrigger contentcontrol