Skip to main content
A newer version of this page is available. .

GridColumnHeaderBase.ColumnPosition Property

Gets or sets a column’s position within a View. 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

public ColumnPosition ColumnPosition { get; set; }

Property Value

Type Description
ColumnPosition

A ColumnPosition enumeration value that specifies a column’s position within a View.

Available values:

Name Description
Left

Corresponds to the first visible column.

Middle

Corresponds to a column displayed between the first and last visible columns.

Right

Corresponds to the last visible column.

Single

Reserved for future use.

Standalone

Corresponds to a column whose header is displayed within the Group Panel, Column Band Chooser, Card View or is currently being dragged by an end-user.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnPosition property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also