Skip to main content
Bar

StateAppearances Members

Provides a set of properties that regulate appearance settings used to paint bar and Ribbon objects in different visual states.

Constructors

Name Description
StateAppearances() Initializes a new instance of the StateAppearances class.
StateAppearances(AppearanceDefault) Initializes a new instance of the StateAppearances class with default settings.
StateAppearances(AppearanceObject) Initializes a new instance of the StateAppearances class with the specified appearance settings.
StateAppearances(IAppearanceOwner) Initializes a new instance of the StateAppearances class.

Properties

Name Description
Disabled Specifies appearance settings used to paint an object in a disabled state.
Hovered Specifies appearance settings used to paint an object when it’s hovered.
Normal Specifies appearance settings used to paint an object in its regular state.
Pressed Specifies appearance settings used to paint an object when it’s clicked.

Methods

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