Skip to main content
Bar

BarBaseButtonItem.AllowAllUp Property

Gets or sets whether all the button items in a group can be in the normal (elevated) state at a time.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Boolean false

true if all the button items in a group can be in the normal (elevated) state at a time; otherwise, false.

Remarks

If AllowAllUp is set to true, all the button items in a group can be in the normal state at the same time. If AllowAllUp is set to false, at least one button item in the group must always be pressed. Changing the AllowAllUp property’s value for one item in a group automatically changes the value for all the items in this group.

To group button items, use their BarBaseButtonItem.GroupIndex properties.

For BarButtonItem objects and their descendants, items can be grouped only if their BarButtonItem.ButtonStyle properties are set to BarButtonStyle.Check.

To toggle a specific button item the BarBaseButtonItem.Down property can be used.

See Also