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.v20.1.dll

Declaration

public object Value { get; set; }
Public Property Value As Object

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.

See Also