Hi,
I have a RangeSlider in a DataTemplate. The Binding to LowerValue and HigherValue does not work correctly.
```
<DataTemplate DataType="{x:Type vm:NumericFilter}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBox x:Name="tbSelectedMin"
Text="{Binding Path=SelectedMin}"
HorizontalAlignment="Left" />
<Button Content="Reset"
Command="{Binding Path=ResetCommand}"
HorizontalAlignment="Center" />
<TextBox x:Name="tbSelctedMax"
Text="{Binding Path=SelectedMax}"
HorizontalAlignment="Right" />
<xctk:RangeSlider x:Name="rsRange"
Grid.Row="1"
Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
HigherValue="{Binding Path=SelectedMax, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
LowerValue="{Binding Path=SelectedMin,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}" />
</Grid>
</DataTemplate>
```
while "normal" sliders work as expected:
```
<StackPanel Grid.Row="1">
<Slider Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
Value="{Binding Path=SelectedMin, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
<Slider Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
Value="{Binding Path=SelectedMax, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
```
Comments: ** Comment from web user: BoucherS **
I have a RangeSlider in a DataTemplate. The Binding to LowerValue and HigherValue does not work correctly.
```
<DataTemplate DataType="{x:Type vm:NumericFilter}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBox x:Name="tbSelectedMin"
Text="{Binding Path=SelectedMin}"
HorizontalAlignment="Left" />
<Button Content="Reset"
Command="{Binding Path=ResetCommand}"
HorizontalAlignment="Center" />
<TextBox x:Name="tbSelctedMax"
Text="{Binding Path=SelectedMax}"
HorizontalAlignment="Right" />
<xctk:RangeSlider x:Name="rsRange"
Grid.Row="1"
Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
HigherValue="{Binding Path=SelectedMax, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
LowerValue="{Binding Path=SelectedMin,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}" />
</Grid>
</DataTemplate>
```
while "normal" sliders work as expected:
```
<StackPanel Grid.Row="1">
<Slider Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
Value="{Binding Path=SelectedMin, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
<Slider Minimum="{Binding Path=Min}"
Maximum="{Binding Path=Max}"
Value="{Binding Path=SelectedMax, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</StackPanel>
```
Comments: ** Comment from web user: BoucherS **
Hi,
This issue will be fixed in v2.4.