Skip to main content

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

RecentPinItem.GlyphAlignment Property

Gets or sets how the glyph in this RecentPinItem is aligned.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(RecentPinItemGlyphAlignment.Top)]
[DXCategory("Appearance")]
public RecentPinItemGlyphAlignment GlyphAlignment { get; set; }

#Property Value

Type Default Description
DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment Top

A DevExpress.XtraBars.Ribbon.RecentPinItemGlyphAlignment enumerator value that specifies how the glyph in this RecentPinItem is aligned.

#Remarks

Depending on the GlyphAlignment property value, the RecentPinItem‘s glyph can be aligned either in the middle of the entire item, or opposite this item’s caption. The figure below illustrates an example.

RecentPinItem - GlyphAlignment

Note that when you set the GlyphAlignment property to Center, the item slightly shrinks, since the item caption (RecentTextGlyphItemBase.Caption) and description (RecentPinItem.Description) are located closer to each other.

See Also