Back to Devexpress

CustomExportCellEventArgsBase.RowValue Property

corelibraries-devexpress-dot-pivotgrid-dot-printing-dot-customexportcelleventargsbase-04bf2991.md

latest3.0 KB
Original Source

CustomExportCellEventArgsBase.RowValue Property

Gets information about a row field value that corresponds to the current cell.

Namespace : DevExpress.PivotGrid.Printing

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public PivotFieldValueItem RowValue { get; }
vb
Public ReadOnly Property RowValue As PivotFieldValueItem

Property Value

TypeDescription
DevExpress.XtraPivotGrid.Data.PivotFieldValueItem

A PivotFieldValueItem object that provides information about a row field value that corresponds to the current cell.

|

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

winforms-dashboard-pivot-custom-export/CS/WinformsExport/Form1.cs#L79

csharp
void PivotPrintCell(object sender, CustomExportCellEventArgs e) {
    if(e.RowValue?.DisplayText?.Trim() == "Seattle") {
        var font = new DXFont(e.Appearance.Font, DXFontStyle.Bold);

winforms-dashboard-pivot-custom-export/VB/WinFormsExport/Form1.vb#L82

vb
Private Sub PivotPrintCell(ByVal sender As Object, ByVal e As CustomExportCellEventArgs)
            If e.RowValue?.DisplayText?.Trim() = "Seattle" Then
'INSTANT VB NOTE: The variable font was renamed since Visual Basic does not handle local variables named the same as class members well:

See Also

ColumnValue

CustomExportCellEventArgsBase Class

CustomExportCellEventArgsBase Members

DevExpress.PivotGrid.Printing Namespace