ItemTriggerCondition.DependencyProperty Property
Gets or sets the condition’s source property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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 and enabled:
<dxb:BarCheckItem Content="Off">
<dxb:BarCheckItem.Triggers>
<dxb:ItemMultiTrigger>
<dxb:ItemMultiTrigger.Conditions>
<dxb:ItemTriggerCondition DependencyProperty="dxb:BarCheckItem.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>
See Also