Bar

BarBaseButtonItem.Down Property

Gets or sets a value indicating whether the button item is pressed down.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(false)]
public virtual bool Down { get; set; }
<DefaultValue(False)>
Public Overridable Property Down As Boolean

Property Value

Type Default Description
Boolean

false

true if the button item is pressed down; otherwise, false.

Remarks

If the Down property is set to true the button item is pressed. Otherwise it's in the normal (elevated) state.

For BarButtonItem and BarLargeButtonItem objects the Down property is in effect if their BarButtonItem.ButtonStyle property is set to BarButtonStyle.Check.

If the BarBaseButtonItem.AllowAllUp property is set to true clicking the item within the group sets the item's Down property to true and the Down property of the rest of the group's items to false.

See Also