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 Methods
Show Inherited Hide Inherited

Provides a set of properties that regulate appearance settings used to paint bar and Ribbon objects in different visual states.
Name Description
Assign(AppearanceDefault) Sets the appearance object’s settings to default values.
Assign(AppearanceObject) Copies the specified appearance settings to the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed and StateAppearances.Disabled objects.
Assign(StateAppearances) Copies settings of the specified StateAppearances object to the current object.
Dispose() Releases all resources used by the current StateAppearances object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAppearance(ObjectState) Returns either the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed or StateAppearances.Disabled object depending on the specified state.
GetAppearance(BarLinkState) Returns either the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed or StateAppearances.Disabled object depending on the specified bar link state.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetFont(Font) Sets the specified font for the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed and StateAppearances.Disabled appearance objects that belong to the current StateAppearances object.
SetVAlignment(VertAlignment) Sets the specified text vertical alignment for the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed and StateAppearances.Disabled appearance objects that belong to the current StateAppearances object.
SetWordWrap(WordWrap) Specifies if the word wrap should be used.
ToString() Returns the textual representation of the StateAppearances.
UpdateRightToLeft(Boolean) Updates the right-to-left text direction option.
See Also