Back to Devexpress

StubGlyphOptions.LetterCount Property

windowsforms-devexpress-dot-utils-dot-drawing-dot-stubglyphoptions-1edd5c95.md

latest2.7 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(GlyphTextSymbolCount.One)]
public GlyphTextSymbolCount LetterCount { get; set; }
vb
<DefaultValue(GlyphTextSymbolCount.One)>
Public Property LetterCount As GlyphTextSymbolCount

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.GlyphTextSymbolCountOne

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 TypePath 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.

See Stub Glyphs to learn more.

See Also

Stub Glyphs

StubGlyphOptions Class

StubGlyphOptions Members

DevExpress.Utils.Drawing Namespace