Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
[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.

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