Skip to main content
Bar

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

StateAppearances.Assign(AppearanceDefault) Method

Sets the appearance object’s settings to default values.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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