Skip to main content
Bar

ItemTrigger.Value Property

Gets or sets the condition’s value.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public object Value { get; set; }

Property Value

Type Description
Object

The default value is null.

Remarks

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

<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>

Bars - ItemTrigger Property property

See Also