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

BarBaseButtonItem.Down Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(false)]
public virtual bool Down { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Down property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also