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.v20.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean LargeIconsInMenu { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property LargeIconsInMenu As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

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

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