Back to Devexpress

BarItemLinkBase.UserGlyphSize Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritemlinkbase-6894e89d.md

latest2.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
GlyphSize

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

|

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

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

GlyphSize

BarItemLinkBase Class

BarItemLinkBase Members

DevExpress.Xpf.Bars Namespace