IsEqualStateTrigger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables a state if the value is equal to another value
public class IsEqualStateTrigger : Windows.UI.Xaml.StateTriggerBase
type IsEqualStateTrigger = class
inherit StateTriggerBase
Public Class IsEqualStateTrigger
Inherits StateTriggerBase
- Inheritance
-
Windows.UI.Xaml.StateTriggerBaseIsEqualStateTrigger
Remarks
Example: Trigger if a value is null
<triggers:EqualsStateTrigger Value="{Binding MyObject}" EqualTo="{x:Null}" />
Constructors
IsEqualStateTrigger() |
Fields
ToProperty |
Identifies the To DependencyProperty |
ValueProperty |
Identifies the Value DependencyProperty |
Properties
To |
Gets or sets the value to compare equality to. |
Value |
Gets or sets the value for comparison. |