a WPF .NET trigger that applies property values or performs actions when the underlying bound data meets a specified condition.
I want to enable/disable a ComboBox based on if there is an item selected in another ComboBox. I was …
c# wpf combobox datatrigger isenabledMy code behind for a window defines a dependency property, "Active"... public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } public …
c# xaml data-binding datatriggerThis is my XAML: <TextBlock Name="SeverityText" Grid.Column="1" Grid.Row="0" Foreground="Red"> <TextBlock.Triggers> <…
wpf textblock datatrigger foregroundThis is my scenario. I have 2 Properties. Type and State. Type is an Enum with 3 values eg, ball, car, arrow. …
silverlight silverlight-4.0 datatrigger vsmI want my image Visibility property set to Hidden when my bound table field Weblink = NULL **OR** Weblink = "" With MultiDataTrigger …
wpf datatriggerIs there a way to create a conditional binding in XAML? Example: <Window x:Name="Me" DataContext="{Binding ElementName=…
wpf xaml binding switch-statement datatriggerMy view-model exposes a list called MyList that may be empty or null. I have an element that I would …
c# wpf data-binding datatriggerI have a generic control which displays an editor based on the type property inside a ViewModel. Currently it's implemented …
wpf datatemplate controltemplate datatrigger datatemplateselectorI am trying to figure out the best way to create a style/trigger to set foreground to Red, when …
wpf triggers styles textblock datatriggerIn the following XAML I'm using a Rectangle with a Border as the Template for a ToggleButton. I want the …
wpf datatrigger templatebinding control-template