Back to Devexpress

DxPivotTableField.Field Property

blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottablefield-fcacab61.md

latest1.4 KB
Original Source

DxPivotTableField.Field Property

Specifies the name of the database field that is assigned to the current object.

Namespace : DevExpress.Blazor.PivotTable

Assembly : DevExpress.Blazor.PivotTable.v25.2.dll

NuGet Package : DevExpress.Blazor.PivotTable

Declaration

csharp
[DefaultValue(null)]
[Parameter]
public string Field { get; set; }

Property Value

TypeDefaultDescription
Stringnull

The field name.

|

Remarks

razor
<DxPivotTable Data="SalesData">
    <Fields>
        <DxPivotTableField Field="@nameof(Sales.SaleInfo.Region)"
                           Area="@PivotTableArea.Row"
                           AreaIndex="0" />
        @*...*@
    </Fields>
</DxPivotTable>

Refer to the DxPivotTableField class description for additional information and an example.

Implements

Field

See Also

DxPivotTableField Class

DxPivotTableField Members

DevExpress.Blazor.PivotTable Namespace