Skip to main content

BaseAppearanceCollection.AssignInternal(BaseAppearanceCollection) Method

Copies the settings from the object passed as the parameter without raising the BaseAppearanceCollection.Changed event.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v22.2.dll

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


public void AssignInternal(
    BaseAppearanceCollection source


Name Type Description
source 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 the settings used to paint a particular element in a control (button, header, band, data cell and etc.).

The AssignInternal 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. Note however that the BaseAppearanceCollection.Changed event is not raised in this case.

See Also