Hello,
I want to provide a Radslider with ranged selection, but I have an issue with the ticks.
As you can see on the screenshots I provided (Min and Max show the selected value in them), the offset of the ticks to the actual selection can be quite heavy on the first thumb.
I assume this is because you want to enable people to selecte a range from one value to the exact same value with both thumbs. However, in this case I do not need that and rather have the thumbs not be able to select the same value - and thus be able to have exact tick captions. Because as it is right now, users will not like it. It is counter-intuitive.
Is there any way right now to solve this issue?
Xaml-Code:
<
StackPanel
Grid.Row
=
"1"
Orientation
=
"Vertical"
Margin
=
"8"
>
<
telerik:Label
x:Name
=
"sliderlabel"
HorizontalAlignment
=
"Center"
HorizontalContentAlignment
=
"Center"
FontWeight
=
"Bold"
Margin
=
"0"
/>
<
telerik:RadSlider
x:Name
=
"slider"
Orientation
=
"Horizontal"
HorizontalAlignment
=
"Stretch"
HorizontalContentAlignment
=
"Stretch"
Margin
=
"0"
IsDeferredDraggingEnabled
=
"True"
HandlesVisibility
=
"Visible"
IsSnapToTickEnabled
=
"False"
IsMoveToPointEnabled
=
"False"
MiddleThumbClickMode
=
"DecreaseNearestThumb"
IsSelectionRangeEnabled
=
"True"
AutoToolTipPlacement
=
"BottomRight"
TickPlacement
=
"TopLeft"
SelectionStartChanged
=
"Slider_SelectionStartChanged"
SelectionEndChanged
=
"Slider_SelectionEndChanged"
DragCompleted
=
"Slider_DragCompleted"
>
<
telerik:RadSlider.AutoToolTipContentTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding .,StringFormat=N0}"
/>
</
DataTemplate
>
</
telerik:RadSlider.AutoToolTipContentTemplate
>
<
telerik:RadSlider.TickTemplate
>
<
DataTemplate
>
<
Grid
HorizontalAlignment
=
"Left"
>
<
TextBlock
HorizontalAlignment
=
"Left"
TextAlignment
=
"Left"
Text
=
"{Binding}"
FontSize
=
"10"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadSlider.TickTemplate
>
</
telerik:RadSlider
>
</
StackPanel
>