DxSummaryItemBase<TModel>.Visible Property

Specifies whether the summary item is visible.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true if the item is visible; otherwise, false.

Remarks

To calculate a total or group summary in the Data Grid, add a DxDataGridSummaryItem object to the TotalSummary or GroupSummary collection. Use the Visible property to show/hide the summary item.

<DxDataGrid Data="@Orders">
    @*...*@
    <TotalSummary>
        <DxDataGridSummaryItem Field=@nameof(Order.UnitPrice)
                               SummaryType=SummaryItemType.Sum
                               Visible="false"/>
    </TotalSummary>
</DxDataGrid>
See Also