Back to Devexpress

PieChartBuilder.RedrawOnResize(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-piechartbuilder-dot-redrawonresize-x28-system-dot-boolean-x29.md

latest1.4 KB
Original Source

PieChartBuilder.RedrawOnResize(Boolean) Method

Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PieChartBuilder RedrawOnResize(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
PieChartBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().PieChart()
    .RedrawOnResize(true)
)

See Also

PieChartBuilder Class

PieChartBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace