Skip to main content

BaseAppearanceCollection Class

Serves as a base for the classes that provide the appearance settings used to paint DevExpress .NET controls.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core


public class BaseAppearanceCollection :

The following members return BaseAppearanceCollection objects:


The BaseAppearanceCollection class implements the basic functionality for objects that contain the appearance settings used to paint DevExpress .NET controls (XtraGrid, XtraTreeList, XtraVerticalGrid, etc.).

The properties exposed by the BaseAppearanceCollection descendants are of the AppearanceObject type and provide the settings used to paint a particular element in a control (button, header, band, data cell and etc.). These settings can be obtained using the BaseAppearanceCollection.GetAppearance method.

The BaseAppearanceCollection class provides a set of methods (BaseAppearanceCollection.SaveLayoutToRegistry, BaseAppearanceCollection.SaveLayoutToStream and BaseAppearanceCollection.SaveLayoutToXml) that allow the appearance settings to be saved to the system registry, a stream or an XML file. The saved settings can then be restored later using the BaseAppearanceCollection.RestoreLayoutFromRegistry, BaseAppearanceCollection.RestoreLayoutFromStream and BaseAppearanceCollection.RestoreLayoutFromXml methods.

For more information on appearances, see the Appearances document.

See Also