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.v20.1.dll

Declaration

public class BaseAppearanceCollection :
    IDisposable,
    IAppearanceOwner,
    IXtraSerializable2,
    IEnumerable,
    IAppearanceDefaultFontProvider,
    ISupportAppearanceObjectPropertiesFilter
Public Class BaseAppearanceCollection
    Implements IDisposable,
               IAppearanceOwner,
               IXtraSerializable2,
               IEnumerable,
               IAppearanceDefaultFontProvider,
               ISupportAppearanceObjectPropertiesFilter

Related API Members

The following members accept/return BaseAppearanceCollection objects:

Remarks

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