Bar

StateAppearances.GetAppearance(ObjectState) Method

Returns either the StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed or StateAppearances.Disabled object depending on the specified state.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll

Declaration

public virtual AppearanceObject GetAppearance(
    ObjectState state
)

Parameters

Name Type Description
state DevExpress.Utils.Drawing.ObjectState

An ObjectState value that specifies a state.

Returns

Type Description
AppearanceObject

The StateAppearances.Normal, StateAppearances.Hovered, StateAppearances.Pressed or StateAppearances.Disabled object.

See Also