Back to Devexpress

BarManagerProperties.DrawMenuSideStrip Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-ec476f6e.md

latest2.6 KB
Original Source

BarManagerProperties.DrawMenuSideStrip Property

Gets or sets whether pop-up menus display the side strip for item glyphs.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool DrawMenuSideStrip { get; set; }
vb
<DefaultValue(True)>
Public Property DrawMenuSideStrip As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if pop-up menus display the side strip for item glyphs; otherwise, false. The default is true.

|

Remarks

By default, pop-up menus display the side strip where item glyphs are shown. See the figure below.

Set the DrawMenuSideStrip property to false to hide the side strip in all pop-up menus managed by the current BarAndDockingController.

csharp
BarAndDockingController.Default.PropertiesBar.DrawMenuSideStrip = false;
vb
BarAndDockingController.Default.PropertiesBar.DrawMenuSideStrip = False

The figure below illustrates the effect.

You can override this global setting for a particular pop-up menu and sub-menu using the PopupMenu.DrawMenuSideStrip and BarSubItem.DrawMenuSideStrip properties, respectively.

See Also

PopupMenu.DrawMenuSideStrip

BarSubItem.DrawMenuSideStrip

BarManagerProperties Class

BarManagerProperties Members

DevExpress.XtraBars Namespace