Skip to main content
Bar

StateAppearances.Assign(AppearanceDefault) Method

Sets the appearance object’s settings to default values.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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