DXTriggerBase.Value Property
Gets or sets the value to be compared with the property value of the data object. This is a dependency property.
Namespace: DevExpress.Xpf.DXBinding
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
#Property Value
Type | Description |
---|---|
Object | The value to be compared with the property value of the data object. |
#Remarks
This value is compared with the property value produced by the DXTriggerBase.Binding property of the DXTriggerBase. The comparison is a reference equality check. If the two values are equal, then the associated data template is applied.
You need to specify both the Value and DXTriggerBase.Binding properties on a DXTriggerBase for the trigger to be meaningful. If both of the properties are not set, the DXTriggerBase returns the default template.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.