Skip to main content
Bar

BarItemLinkBase.UserGlyphSize Property

Gets or sets the size of the link’s glyph, defined by an end-user. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public GlyphSize UserGlyphSize { get; set; }

Property Value

Type Description
GlyphSize

A GlyphSize value that represents the size of the link’s glyph.

Available values:

Name Description
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

You can specify the glyph size for a bar item via the BarItem.GlyphSize property. By default, this size will be used by all links. However, you can provide the glyph size for individual links via the UserGlyphSize property, overriding the bar item’s corresponding setting.

See Also