wpf-devexpress-dot-xpf-dot-bars-dot-baritem-2dfbf4cd.md
Gets or sets the alignment of the current bar item’s image. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public Dock GlyphAlignment { get; set; }
Public Property GlyphAlignment As Dock
| Type | Description |
|---|---|
| Dock |
A Dock value that specifies the alignment of the bar item’s image.
|
Use the GlyphAlignment property to specify the position of the current bar item’s glyph.
Note
Setting this property has no effect if the current bar item is used within the RibbonControl or RibbonStatusBarControl.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GlyphAlignment property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-bars-mvvm-generate-bars-from-view-model-collection/CS/DXSample/MainWindow.xaml#L24
Glyph="{Binding Glyph}"
GlyphAlignment="Top"
BarItemDisplayMode="ContentAndGlyph"
See Also