Back to Devexpress

StubGlyphOptions.VerticalAlignment Property

windowsforms-devexpress-dot-utils-dot-drawing-dot-stubglyphoptions-e8f47141.md

latest2.7 KB
Original Source

StubGlyphOptions.VerticalAlignment Property

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

Declaration

csharp
[DefaultValue(StringAlignment.Center)]
public StringAlignment VerticalAlignment { get; set; }
vb
<DefaultValue(StringAlignment.Center)>
Public Property VerticalAlignment As StringAlignment

Property Value

TypeDefaultDescription
StringAlignmentCenter

A StringAlignment enumerator value that specifies the vertical alignment of stub glyphs’ captions.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to VerticalAlignment
BarManager

.OptionsStubGlyphs .VerticalAlignment

| | RibbonControl |

.OptionsStubGlyphs .VerticalAlignment

| | WinExplorerView |

.OptionsStubGlyphs .VerticalAlignment

|

Remarks

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

Stub Glyphs

StubGlyphOptions Class

StubGlyphOptions Members

DevExpress.Utils.Drawing Namespace