Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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