All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Bar

ItemTriggerCondition.Property Property

Gets or sets the condition’s source property.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public ItemProperty Property { get; set; }

Property Value

Type Description
ItemProperty

A DependencyProperty wrapper.

Remarks

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

<dxb:BarCheckItem Content="Off">
    <dxb:BarCheckItem.Triggers>
        <dxb:ItemMultiTrigger>
            <dxb:ItemMultiTrigger.Conditions>
                <dxb:ItemTriggerCondition Property="IsChecked" 
                                          Value="True"/>
                <dxb:ItemTriggerCondition Property="IsEnabled" 
                                          Value="True"/>
            </dxb:ItemMultiTrigger.Conditions>
            <dxb:ItemSetter Property="Content" Value="On"/>
        </dxb:ItemMultiTrigger>
    </dxb:BarCheckItem.Triggers>
</dxb:BarCheckItem>

Bars - ItemTrigger Property property

See Also