wpf-devexpress-dot-xpf-dot-pivotgrid-dot-cellelementdata-da75b79f.md
Gets the index of the column.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public int ColumnIndex { get; }
Public ReadOnly Property ColumnIndex As Integer
| Type | Description |
|---|---|
| Int32 |
The column index.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnIndex 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.
public PivotDrillDownDataSource CreateDrillDownDataSource() {
return pivotGrid.CreateDrillDownDataSource(cellItem.ColumnIndex, cellItem.RowIndex);
}
Public Function CreateDrillDownDataSource() As PivotDrillDownDataSource
Return pivotGrid.CreateDrillDownDataSource(cellItem.ColumnIndex, cellItem.RowIndex)
End Function
See Also