Skip to main content
Bar

BarManagerProperties.DrawMenuRightIndent Property

Gets or sets whether pop-up menus display the right margin.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(true)]
public bool DrawMenuRightIndent { get; set; }

Property Value

Type Default Description
Boolean true

true if pop-up menus display the right margin; otherwise, false.

Remarks

By default, pop-up menus display the right margin. See the figure below.

BarManagerProperties_DrawMenuRightIndent_True

Set the DrawMenuRightIndent property to false to prevent the right margin from being displayed in all pop-up menus managed by the current BarAndDockingController.

BarAndDockingController.Default.PropertiesBar.DrawMenuRightIndent = false;

The figure below illustrates the effect.

BarManagerProperties_DrawMenuRightIndent_False

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

See Also