Back to Devexpress

RecentLabelItem.Style Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentlabelitem.md

latest2.1 KB
Original Source

RecentLabelItem.Style Property

Gets or sets this RecentLabelItem object’s size and appearance by selecting one of the embedded styles.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RecentLabelStyles.Medium)]
[DXCategory("Appearance")]
public virtual RecentLabelStyles Style { get; set; }
vb
<DefaultValue(RecentLabelStyles.Medium)>
<DXCategory("Appearance")>
Public Overridable Property Style As RecentLabelStyles

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Ribbon.RecentLabelStylesMedium

A DevExpress.XtraBars.Ribbon.RecentLabelStyles enumerator value that specifies this RecentLabelItem‘s style.

|

Remarks

The Style property allows you to instantly select from three available RecentLabelItem sizes (small, medium and large) without the necessity to customize font settings, accessed through the RecentTextGlyphItemBase.Appearances property. Mixing labels of different styles gives you the ability to implement complex blocks with titles, sub-titles and regular text.

See Also

Recent Item Control

RecentLabelItem Class

RecentLabelItem Members

DevExpress.XtraBars.Ribbon Namespace