BarBaseButtonItem.CloseSubMenuOnClick Property
Gets or sets a value indicating whether a submenu which contains the button item’s link is closed on a click.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true, if a submenu containing the button item’s link is closed on a click; otherwise, false. |
Remarks
This feature is useful when the submenu is a list of check items (for instance, when it contains BarCheckItems’ links). Each time such a link is checked or unchecked, an ItemClick event occurs. If these links’ CloseSubMenuOnClick properties are set to false, the links can be checked/unchecked without having the submenu closed.
See Also