Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppearanceObject.Assign(AppearanceObject) Method

Copies all settings from the appearance object passed as a parameter.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public virtual void Assign(
    AppearanceObject source
)

#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.

See Also