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(AppearanceDefault) Method

Sets the appearance object’s settings to default values.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public virtual void Assign(
    AppearanceDefault appearanceDefault
)

#Parameters

Name Type Description
appearanceDefault DevExpress.Utils.AppearanceDefault

An AppearanceDefault object containing default appearance settings.

#Remarks

The Assign method copies the properties of the default appearance object to the current one. This allows you to reset an appearance object’s settings to their default values. This method does nothing if the appearanceDefault parameter is a null reference.

To copy settings from another appearance object to the current one, use the Assign method’s overload which takes the AppearanceObject as a parameter.

See Also