Copies the settings from the object passed as the parameter.
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
public virtual void Assign( BaseAppearanceCollection source )
Public Overridable Sub Assign( source As BaseAppearanceCollection )
A BaseAppearanceCollection descendant representing the source of the operation. If null (Nothing in Visual Basic) this method does nothing.
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.