Skip to main content

StubGlyphOptions.LetterCount Property

Gets or sets the number of initial letters of a bar item caption that should be displayed by this item’s stub glyph.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(GlyphTextSymbolCount.One)]
public GlyphTextSymbolCount LetterCount { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Drawing.GlyphTextSymbolCount One

A DevExpress.Utils.Drawing.GlyphTextSymbolCount enumerator value that allows you to choose between one and two characters.

Property Paths

You can access this nested property as listed below:

Object Type Path to LetterCount
BarManager
.OptionsStubGlyphs .LetterCount
RibbonControl
.OptionsStubGlyphs .LetterCount
WinExplorerView
.OptionsStubGlyphs .LetterCount

Remarks

Stub glyph captions always start with the first character of their related bar item captions. Set this property to GlyphTextSymbolCount.Two to draw the second character as well. Displaying two characters requires more space and thus, is primarily recommended for large bar item links.

StubGlyphs - Letter Count

See Stub Glyphs to learn more.

See Also