Back to Devexpress

ItemTrigger.Property Property

wpf-devexpress-dot-xpf-dot-bars-dot-itemtrigger.md

latest1.7 KB
Original Source

ItemTrigger.Property Property

Gets or sets the property that returns the value that is compared with the trigger’s Value property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public ItemProperty Property { get; set; }
vb
Public Property [Property] As ItemProperty

Property Value

TypeDescription
ItemProperty

An ItemProperty that returns the property value of the element.

|

Remarks

The following code sample sets the BarCheckItem‘s Content property to On when the BarCheckItem is checked:

xaml
<dxb:BarCheckItem Content="Off">
    <dxb:BarCheckItem.Triggers>
        <dxb:ItemTrigger Property="IsChecked" Value="True">
            <dxb:ItemSetter Property="Content" Value="On"/>
        </dxb:ItemTrigger>
    </dxb:BarCheckItem.Triggers>
</dxb:BarCheckItem>

See Also

ItemTrigger Class

ItemTrigger Members

DevExpress.Xpf.Bars Namespace