Skip to main content

AppearanceObject.Assign(AppearanceDefault) Method

Sets the appearance object’s settings to default values.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.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