Back to Devexpress

WinExplorerViewAppearances.GroupPressed Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewappearances-215d1c6f.md

latest2.7 KB
Original Source

WinExplorerViewAppearances.GroupPressed Property

Stores the Group header appearance settings, used when an end-user clicks this header.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public AppearanceObject GroupPressed { get; }
vb
Public ReadOnly Property GroupPressed As AppearanceObject

Property Value

TypeDescription
AppearanceObject

An AppearanceObject that stores the selected Group header appearance settings.

|

Remarks

Group headers have 3 visual states - normal, hovered and pressed. For each of these states, you can apply different appearance settings via the WinExplorerViewAppearances.GroupNormal, WinExplorerViewAppearances.GroupHovered and GroupPressed properties respectively.

An end-user can click a Group header to select all items within this Group. A pressed Group header will remain in its pressed state (and so use the GroupPressed appearance settings) until an end-user clicks another Group header or individual item.

To apply grouping to the WinExplorerView items, assign the required Grid Column to the WinExplorerViewColumns.GroupColumn property.

See Also

GroupHovered

GroupNormal

WinExplorerView

WinExplorerViewAppearances Class

WinExplorerViewAppearances Members

DevExpress.XtraGrid.Views.WinExplorer Namespace