Back to Devexpress

CellElementData.RowIndex Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-cellelementdata-c6de5e05.md

latest2.5 KB
Original Source

CellElementData.RowIndex Property

Gets the index of the specified row.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public int RowIndex { get; }
vb
Public ReadOnly Property RowIndex As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the row index.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowIndex 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.

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/CS/HowToEditCell/PivotGridEditHelper.cs#L204

csharp
public PivotDrillDownDataSource CreateDrillDownDataSource() {
    return pivotGrid.CreateDrillDownDataSource(cellItem.ColumnIndex, cellItem.RowIndex);
}

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/VB/HowToEditCell/PivotGridEditHelper.vb#L223

vb
Public Function CreateDrillDownDataSource() As PivotDrillDownDataSource
    Return pivotGrid.CreateDrillDownDataSource(cellItem.ColumnIndex, cellItem.RowIndex)
End Function

See Also

CellElementData Class

CellElementData Members

DevExpress.Xpf.PivotGrid Namespace