DataViewBase.HeaderPosition Property
Gets or sets the grid view’s header position. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
HeaderPosition | One of the HeaderPosition enumeration values. |
Available values:
Name | Description |
---|---|
Top | The header is displayed at the top of the GridControl. |
CompactPanel | The header is displayed to the left of the compact panel. |
SearchPanel | The header is displayed to the left of the search panel. If the search panel is hidden, the header is not displayed. |
Remarks
Use the HeaderPosition property to specify the view’s header position.
When the HeaderPosition property is set to HeaderPosition.SearchPanel, the header is displayed only when the search panel is visible. Set the DataViewBase.ShowSearchPanelMode property to ShowSearchPanelMode.Always to make the search panel always visible.
When the HeaderPosition property is set to HeaderPosition.CompactPanel, the header is visible only when the Compact Mode is enabled and activated.