Skip to main content
A newer version of this page is available. .
Bar

ItemTrigger.DependencyProperty Property

Gets or sets the condition’s source property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public DependencyProperty DependencyProperty { get; set; }

Property Value

Type Description
DependencyProperty

A DependencyProperty that specifies the condition’s source property. 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 DependencyProperty="dxb:BarCheckItem.IsChecked" Value="True">
            <dxb:ItemSetter Property="Content" Value="On"/>
        </dxb:ItemTrigger>
    </dxb:BarCheckItem.Triggers>
</dxb:BarCheckItem>

Bars - ItemTrigger Property property

See Also