Skip to main content
All docs
V24.2

DxRangeSelector.RedrawOnResize Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
Boolean true

true to redraw the component; otherwise, false.

Remarks

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

Range Selector - Redraw on Resize

To disable resizing, set the RedrawOnResize property to false.

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