A newer version of this page is available. Switch to the current version.

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.v19.1.Core.dll


public HeaderPosition HeaderPosition { get; set; }
Public Property HeaderPosition As HeaderPosition

Property Value

Type Description

One of the HeaderPosition enumeration values.


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.

See Also