Skip to main content

RecentButtonItem.Orientation Property

Gets or sets the current RecentButtonItem orientation.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(Orientation.Horizontal)]
[DXCategory("Appearance")]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation Horizontal

An Orientation enumerator value that specifies the current RecentButtonItem orientation.

Remarks

The Orientation property specifies whether this RecentButtonItem‘s image and caption should be arranged side-by-side (horizontal orientation), or the icon should be displayed above the caption (vertical orientation). To assign the image and caption to your button, use the RecentTextGlyphItemBase.Glyph and RecentTextGlyphItemBase.Caption properties respectively.

See Also