All docs
V20.1
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 Class

Represents a condition for the ItemMultiTrigger, which apply changes to property values based on a set of conditions.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public class ItemTriggerCondition :
    IItemTrigger
Public Class ItemTriggerCondition
    Implements IItemTrigger

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 DependencyProperty="dxb:BarCheckItem.IsEnabled" 
                                          Value="True"/>
            </dxb:ItemMultiTrigger.Conditions>
            <dxb:ItemSetter Property="Content" Value="On"/>
        </dxb:ItemMultiTrigger>
    </dxb:BarCheckItem.Triggers>
</dxb:BarCheckItem>

Bars - ItemTrigger Property property

Inheritance

Object
ItemTriggerCondition
See Also