Skip to main content
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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(true)]
[EditorBrowsable(EditorBrowsableState.Never)]
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