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

BarManagerProperties.LargeIconsInMenu Property

Gets or sets whether bar items in menus are painted using large or small icons.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean LargeIconsInMenu { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

true, if bar items in menus are painted using large icons; otherwise, false.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

Based on the LargeIconsInMenu property value, bar items in menus use either small or large icons. Small icons are specified by the BarItem.Glyph or BarItem.ImageIndex property. Large icons can be specified using the BarItem.LargeGlyph or BarItem.LargeImageIndex property. If no large icon is explicitly assigned to a bar item, the large icon is created by scaling the small icon.

If the LargeIconsInMenu property is set to Default, the size of icons in menus is controlled by the BarManagerProperties.LargeIcons property.

The LargeIconsInMenu setting can be overridden for individual menus with the help of the menu’s MenuDrawMode property (BarCustomContainerItem.MenuDrawMode and PopupMenuBase.MenuDrawMode).

See Also