BaseAppearanceCollection.Assign(BaseAppearanceCollection) Method
Copies the settings from the object passed as the parameter.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public virtual void Assign(
BaseAppearanceCollection source
)
#Parameters
Name | Type | Description |
---|---|---|
source | Base |
A Base |
#Remarks
The BaseAppearanceCollection descendants (GridViewAppearances class, for instance) represent the appearance settings used to paint the visual elements of DevExpress .NET controls such as the XtraGrid, XtraTreeList, etc. The Properties of such objects are of the AppearanceObject type and provide settings which are used to paint a particular element in a control (button, header, band, data cell and etc.).
The Assign method allows you to have two BaseAppearanceCollection descendants with identical settings provided that these objects are of the same type. It copies the properties of the BaseAppearanceCollection descendant passed as the parameter to the current one.
Calling the Assign method raises the BaseAppearanceCollection.Changed event.