Skip to main content
Bar

BarBaseButtonItem.CanDown Property

Gets a value indicating whether the button item has two states (normal and pressed).

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[Browsable(false)]
public virtual bool CanDown { get; }

Property Value

Type Description
Boolean

true if the button item has two states (normal and pressed); otherwise, false.

Remarks

If a button item’s BarBaseButtonItem.ButtonStyle property is set to BarButtonStyle.Check it can have two states: normal (elevated) and pressed. In this case the BarBaseButtonItem.Down property can be used to toggle the button item’s state.

The CanDown property returns true if the BarBaseButtonItem.ButtonStyle property is set to BarButtonStyle.Check. Otherwise, false is always returned.

See Also