Back to Devexpress

DxPivotTable.SizeMode Property

blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable.md

latest1.6 KB
Original Source

DxPivotTable.SizeMode Property

Specifies the size of Pivot Table elements (for instance, text size and cell height).

Namespace : DevExpress.Blazor.PivotTable

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

NuGet Package : DevExpress.Blazor.PivotTable

Declaration

csharp
[DefaultValue(null)]
[Parameter]
public SizeMode? SizeMode { get; set; }

Property Value

TypeDefaultDescription
Nullable<SizeMode>null

The size mode. If the property is not specified (the value is null), the size is determined by the SizeMode global option.

|

Available values:

NameDescription
Small

Small size.

| | Medium |

Medium size.

| | Large |

Large size.

|

Remarks

The following code applies the Small size mode to the Pivot Table.

razor
<DxPivotTable Data="SalesData"
              SizeMode="SizeMode.Small">
    <Fields>
        @*...*@
    </Fields>
</DxPivotTable>

See Also

DxPivotTable Class

DxPivotTable Members

DevExpress.Blazor.PivotTable Namespace