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