Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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.ImageOptions.Image or BarItem.ImageOptions.ImageIndex property. Large icons can be specified using the BarItem.ImageOptions.LargeImage or BarItem.ImageOptions.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