windowsforms-devexpress-dot-utils-dot-drawing-dot-stubglyphoptions-e8f47141.md
Gets or sets the vertical alignment of stub glyphs’ captions.
Namespace : DevExpress.Utils.Drawing
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DefaultValue(StringAlignment.Center)]
public StringAlignment VerticalAlignment { get; set; }
<DefaultValue(StringAlignment.Center)>
Public Property VerticalAlignment As StringAlignment
| Type | Default | Description |
|---|---|---|
| StringAlignment | Center |
A StringAlignment enumerator value that specifies the vertical alignment of stub glyphs’ captions.
|
You can access this nested property as listed below:
| Object Type | Path to VerticalAlignment |
|---|---|
| BarManager |
.OptionsStubGlyphs .VerticalAlignment
| | RibbonControl |
.OptionsStubGlyphs .VerticalAlignment
| | WinExplorerView |
.OptionsStubGlyphs .VerticalAlignment
|
Using the VerticalAlignment and StubGlyphOptions.HorizontalAlignment properties, you can align glyph captions into one of nine predefined positions.
See Stub Glyphs to learn more.
See Also