Back to Devexpress

BarBaseButtonItem.AllowAllUp Property

windowsforms-devexpress-dot-xtrabars-dot-barbasebuttonitem-1da19574.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

Down

GroupIndex

BarBaseButtonItem Class

BarBaseButtonItem Members

DevExpress.XtraBars Namespace