Skip to main content

RibbonPageCategory.Appearance Property

Provides access to the category’s appearance settings.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DXCategory("Appearance")]
[SkipRuntimeSerialization]
public virtual AppearanceObject Appearance { get; }

Property Value

Type Description
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 (Color.LightCoral).

image

See Also