Top "Datatrigger" questions

a WPF .NET trigger that applies property values or performs actions when the underlying bound data meets a specified condition.

wpf datatrigger on an image source

Assuming the binding is right and the image files are where they shuld be, can anyone spot why the image …

wpf datatrigger
Style.DataTrigger on Border background

I have the border below. Why would the Foreground of my TextBlock work correctly but the Background of the border …

wpf xml styles border datatrigger
Triggers collection members must be of type EventTrigger

I've created a UserControl, similar to the following: <UserControl> <StackPanel Orientation="Vertical"> <StackPanel x:Name="…

.net wpf datatrigger
WPF Trigger based on Object Type

Is there a way to do a comparison on object type for a trigger? <DataTrigger Binding="{Binding SelectedItem}" Value="…

wpf xaml types binding datatrigger
Making a WPF Label (or other element) flash using animation

I have a label that I only make visible based on one of my ViewModel Properties. Here is the XAML: &…

wpf animation triggers datatrigger
SQL Server trigger on insert,delete & update on table

I have a table Product and another table ProductLog. The log table needs to track two columns in the Product …

sql-server datatrigger
Setting up WPF treeview triggers to show different images on expand

I have a wpf tree view that displays nodes of various types with corresponding images such as folder images. Initially, …

wpf triggers treeview datatrigger hierarchicaldatatemplate
datatrigger binding to viewmodel property

I'm trying to create a simple style data trigger that pulls it's binding value from a viewmodel property, as you …

wpf mvvm datatrigger
Using bindings in DataTrigger condition

Let's say I have the following simple classes: public class Person { public int Id { get; set; } public string Name { get; …

.net wpf data-binding datatrigger
WPF Animation "Cannot freeze this Storyboard timeline tree for use across threads"

I currently have a listbox that has its selected item bound to a property on my ViewModel. Whenever the selected …

wpf xaml animation mvvm datatrigger