Hello,
in my application i'm using a slider within a scrollviewer.
since the slider is much bigger then my screen.
now the behaviour I want is that the selection arrow jumps to the value on the slider where I click.
In the mouseleftbuttondown event I can't find any parameter that indicates the clicked value or something like that.
how can achive the wanted behaviour?
thank you for your time,
Wim
p.s. this is my sliders xaml in case you wanna know
in my application i'm using a slider within a scrollviewer.
since the slider is much bigger then my screen.
now the behaviour I want is that the selection arrow jumps to the value on the slider where I click.
In the mouseleftbuttondown event I can't find any parameter that indicates the clicked value or something like that.
how can achive the wanted behaviour?
thank you for your time,
Wim
p.s. this is my sliders xaml in case you wanna know
<telerik:RadSlider Background="Transparent" Foreground="Transparent" BorderThickness="0" BorderBrush="Transparent" | |
Margin="0,0,0,0" | |
x:Name="RadSlider1" IsMouseWheelEnabled="True" IsSnapToTickEnabled="False" TickPlacement="TopLeft" | |
TickFrequency="1" Value="0" SmallChange="1" Minimum="0" Maximum="500" Width="12500" | |
Delay="0"> | |
<telerik:RadSlider.TickTemplate> | |
<DataTemplate> | |
<Canvas Canvas.ZIndex="1" Width="25"> | |
<Rectangle Canvas.Top="6" Width="{Binding Converter={StaticResource StyleConverter}, ConverterParameter=Width }" Height="{Binding Converter={StaticResource StyleConverter}, ConverterParameter=Height}" Fill="Black" /> | |
<Rectangle Canvas.Top="18" Width="{Binding Converter={StaticResource StyleConverter}, ConverterParameter=Width }" Height="{Binding Converter={StaticResource StyleConverter}, ConverterParameter=Height}" Fill="Black" /> | |
<Canvas Canvas.Top="8" Canvas.Left="-10" Canvas.ZIndex="1"> | |
<TextBlock Text="{Binding Converter={StaticResource TODTickLabelConverter}}" FontSize="8" Foreground="Black" /> | |
</Canvas> | |
</Canvas> | |
</DataTemplate> | |
</telerik:RadSlider.TickTemplate> | |
</telerik:RadSlider> |