Back to Devexpress

RibbonPageCategory.Appearance Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagecategory-6d2c03a8.md

latest2.4 KB
Original Source

RibbonPageCategory.Appearance Property

Provides access to the category’s appearance settings.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
[SkipRuntimeSerialization]
public virtual AppearanceObject Appearance { get; }
vb
<DXCategory("Appearance")>
<SkipRuntimeSerialization>
Public Overridable ReadOnly Property Appearance As AppearanceObject

Property Value

TypeDescription
AppearanceObject

The category’s appearance settings.

|

Remarks

To customize the default appearance settings for all categories, add a BarAndDockingController pr DefaultBarAndDockingController to the form and modify its AppearancesRibbon.PageCategory property.

The current RibbonPageCategory.Appearance property allows you to specify appearance settings for individual ribbon categories. These settings override the default settings provided by BarAndDockingControllers.

In certain skins, the Ribbon control blends the custom background color you specify for a category with an underlying background. The following image shows a Ribbon control painted in the Office 2010 Black skin. The ‘Selection’ category has its background color set to Color.LightCoral ( ).

See Also

RibbonPageCategory Class

RibbonPageCategory Members

DevExpress.XtraBars.Ribbon Namespace