Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarItem.GlyphAlignment Property

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public Dock GlyphAlignment { get; set; }

#Property Value

Type Description
Dock

A Dock value that specifies the alignment of the bar item’s image.

#Remarks

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.

See Also