Back to Devexpress

DxPivotTableField.Visible Property

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

latest1.6 KB
Original Source

DxPivotTableField.Visible Property

Specifies whether the Pivot Table field is visible.

Namespace : DevExpress.Blazor.PivotTable

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

NuGet Package : DevExpress.Blazor.PivotTable

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true if the field is visible; otherwise, false.

|

Remarks

The following code hides the Region field from the Pivot Table layout. However, users can view this field in the Hidden Fields section of the Field List.

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

Implements

Visible

See Also

DxPivotTableField Class

DxPivotTableField Members

DevExpress.Blazor.PivotTable Namespace