wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcellbaseeventargs-f7037e32.md
Gets the visual index of the column that contains the processed cell.
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 |
An integer value which specifies the visual index of the column that contains the processed cell.
|
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.
gridControl1.ItemsSource =
await pivotGridControl1.CreateDrillDownDataSourceAsync(e.ColumnIndex, e.RowIndex);
}
Private Async Sub pivotGridControl1_CellClick(ByVal sender As Object, ByVal e As PivotCellEventArgs)
gridControl1.ItemsSource = Await pivotGridControl1.CreateDrillDownDataSourceAsync(e.ColumnIndex, e.RowIndex)
End Sub
See Also