Skip to main content
A newer version of this page is available. .
Bar

BarBaseButtonItem.CloseSubMenuOnClick Property

Gets or sets whether a submenu which contains the button item’s link is closed when the link is clicked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[Browsable(false)]
[DefaultValue(true)]
public virtual bool CloseSubMenuOnClick { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if a submenu containing the button item’s link is closed when the link is clicked; otherwise, false.

Remarks

This property is obsolete. Use the BarBaseButtonItem.CloseSubMenuOnClickMode property instead.

See Also