Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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