Skip to main content
A newer version of this page is available. .
Bar

StateAppearances.Assign(AppearanceDefault) Method

Sets the appearance object’s settings to default values.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public void Assign(
    AppearanceDefault app
)

Parameters

Name Type Description
app DevExpress.Utils.AppearanceDefault

An AppearanceDefault object containing default appearance settings.

Remarks

The Assign method copies the specified default appearance settings to the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed and StateAppearances.Disabled objects. 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, use the Assign method’s overload which takes the AppearanceObject as a parameter.

See Also