Back to Devexpress

NavElement.AppearancePressed Property

windowsforms-devexpress-dot-xtranavbar-dot-navelement-c9258415.md

latest2.4 KB
Original Source

NavElement.AppearancePressed Property

Gets the appearance settings used to paint the element when it’s pressed.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(3)]
public virtual AppearanceObject AppearancePressed { get; }
vb
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
<XtraSerializablePropertyId(3)>
Public Overridable ReadOnly Property AppearancePressed As AppearanceObject

Property Value

TypeDescription
AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint the element when it’s pressed.

|

Remarks

The appearance settings used to paint all the pressed elements (group headers, links) are specified by the XtraNavBar control. For instance, when the group caption is pressed by an end-user it’s painted using the appearance settings specified by the NavBarAppearances.GroupHeaderPressed property. The AppearancePressed property allows the appearance of individual elements when they are pressed to be specified.

In the XP2View, XPExplorerBarView and skinning paint schemes, setting background colors via the AppearancePressed property is not in effect.

For more information on appearances, see the Appearances document.

See Also

Appearance

AppearanceHotTracked

NavElement Class

NavElement Members

DevExpress.XtraNavBar Namespace