Back to Devexpress

ToolBarControlBase.GlyphSize Property

wpf-devexpress-dot-xpf-dot-bars-dot-toolbarcontrolbase-609dd871.md

latest2.9 KB
Original Source

ToolBarControlBase.GlyphSize Property

Gets or sets whether a small or large image is used by bar items displayed in the current tool bar. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public GlyphSize GlyphSize { get; set; }
vb
Public Property GlyphSize As GlyphSize

Property Value

TypeDescription
GlyphSize

A GlyphSize value that specifies whether a small or large image is used by the bar items.

|

Available values:

NameDescription
Default

The size of a bar item’s image is dependent on the settings of the bar item’s container (bar or popup menu) or the BarManager object. See the following options: Bar.GlyphSize, PopupMenu.GlyphSize, BarSubItem.SubItemsGlyphSize, BarManager.ToolbarGlyphSize, BarManager.MenuGlyphSize.

| | Small |

A bar item is using a small image specified by the BarItem.Glyph property.

| | Medium |

A bar item is using a medium image specified by the BarItem.MediumGlyph property.

| | Large |

A bar item is using a large image specified by the BarItem.LargeGlyph property.

| | Custom |

The size of the glyph is specified by the Size value.

|

Remarks

This property makes sense when both large and small images are assigned to bar items using the BarItem.Glyph and BarItem.LargeGlyph properties. The GlyphSize specifies whether bar items displayed in the current tool bar use small or large images. You can override this setting for individual bar items using the BarItem.GlyphSize property.

See Also

BarItemDisplayMode

ToolBarControlBase Class

ToolBarControlBase Members

DevExpress.Xpf.Bars Namespace