Back to Devexpress

BaseAppearanceCollection Class

windowsforms-devexpress-dot-utils-fc157899.md

latest7.3 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public class BaseAppearanceCollection :
    IDisposable,
    IAppearanceOwner,
    IXtraSerializable2,
    IEnumerable,
    IAppearanceDefaultFontProvider,
    ISupportAppearanceObjectPropertiesFilter,
    ISupportJsonXtraSerializer,
    ISupportXtraSerializer
vb
Public Class BaseAppearanceCollection
    Implements IDisposable,
               IAppearanceOwner,
               IXtraSerializable2,
               IEnumerable,
               IAppearanceDefaultFontProvider,
               ISupportAppearanceObjectPropertiesFilter,
               ISupportJsonXtraSerializer,
               ISupportXtraSerializer

The following members 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.

Inheritance

Show 39 items

Object BaseAppearanceCollection CalendarAppearances

BaseViewAppearanceCollection

LayoutAppearanceCollection

NavBarAppearances

PivotGridAppearancesBase

PivotGridFieldAppearances

RichEditAppearance

BaseHeaderAppearance

VGridAppearanceCollection

WizardAppearanceCollection

ValidationHintAppearances

TimelineViewAppearance

LayoutViewAppearances

SchedulerAppearance

BandedViewAppearances

AgendaViewAppearance

DayViewAppearance

GanttControlAppearanceCollection

GanttControlPrintAppearanceCollection

TreeListPrintAppearanceCollection

CardViewAppearances

CardViewPrintAppearances

PivotGridAppearances

PivotGridAppearancesPrint

GridViewAppearances

GridViewPrintAppearances

BandedViewPrintAppearances

ColumnViewAppearances

ColumnViewPrintAppearances

WinExplorerViewAppearances

BaseViewAppearance

GanttViewAppearance

MonthViewAppearance

WeekViewAppearance

WorkWeekViewAppearance

TreeListAppearanceCollection

VGridAppearanceCollectionEx

See Also

BaseAppearanceCollection Members

Appearances

DevExpress.Utils Namespace