Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Core


public object Value { get; set; }

Property Value

Type Description

The value to be compared with the property value of the data object.


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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.


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.

See Also