AppearanceObject.Assign(AppearanceObject) Method
Copies all settings from the appearance object passed as a parameter.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
source | AppearanceObject | An AppearanceObject object representing the source of the operation. |
Remarks
The Assign method copies the properties of the specified AppearanceObject object to the current one. This allows you to have two appearance objects with identical settings. Note however that the AppearanceObject.ParentAppearance and AppearanceObject.Options property values are not copied by this method.
Calling this method raises the AppearanceObject.Changed event.
To set the appearance object’s settings to their default values, use the overloaded Assign method which takes the AppearanceDefault object as a parameter.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Assign(AppearanceObject) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.