Back to Devexpress

DxRangeSelector.RedrawOnResize Property

blazor-devexpress-dot-blazor-dot-dxrangeselector-521192f5.md

latest1.4 KB
Original Source

DxRangeSelector.RedrawOnResize Property

Specifies whether to redraw the Range Selector when its container size changes.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true to redraw the component; otherwise, false.

|

Remarks

When the size of the Range Selector component’s container changes, the component is redrawn.

To disable resizing, set the RedrawOnResize property to false.

razor
<DxRangeSelector Width="800px"
                 Height="400px"
                 RedrawOnResize="false"
                 Data="@Data">
    <DxTitleSettings Text="Population by Country 2023" />
    <DxRangeSelectorChart>
        @* ... *@
    </DxRangeSelectorChart>
</DxRangeSelector>

See Also

DxRangeSelector Class

DxRangeSelector Members

DevExpress.Blazor Namespace