Skip to main content

RecentPinItem.GlyphAlignment Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.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