On UWP binding doesnt work for RangeStart and RangeEnd after i change the them. Basically I have a function to reset to initial values which are 0 and 5, if I change to 1 and 4 and use viewmodel to reset to 0 and 5, it doesnt effect the UI, Slider is still showin 1 and 4.
Xaml:
<range:SfRangeSlider x:Name="rangeSlider" Margin="0"
TrackSelectionColor="{DynamicResource backgroundColor}" RangeEnd="{Binding RatingTo,Mode=OneWay}" RangeStart="{Binding RatingFrom, Mode=OneWay}" ShowRange="true" Minimum="0" Maximum="5" SnapsTo="None" TickPlacement="Inline" TickFrequency="1" Orientation="Horizontal"
ValuePlacement="TopLeft" ToolTipPlacement="BottomRight" ToolTipPrecision="2" />
ViewModel
public float RatingFrom { get; set; } = 0;
public float RatingTo { get; set; } = 5;
RatingFrom = 0;
RatingTo = 5;
RaisePropertyChanged("RatingFrom");
RaisePropertyChanged("RatingTo");