This is a migrated thread and some comments may be shown as answers.

do u have sample of overview plus details?

4 Answers 53 Views
Slider
This is a migrated thread and some comments may be shown as answers.
mike chang
Top achievements
Rank 1
mike chang asked on 05 Oct 2010, 12:06 PM
i am working on styling radlider like http://demo.componentone.com/Silverlight/ControlExplorer/#Chart/Overview%20Plus%20Detail did,
can u show me how to do with telerik,
thank you

4 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 07 Oct 2010, 11:13 AM
Hello mike chang,

I am afraid I don't see a Slider in the link you sent. Can you please send us a snapshot of the slider style you need to create? Thank you in advance.

Regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
mike chang
Top achievements
Rank 1
answered on 07 Oct 2010, 04:59 PM
thanks
0
Tina Stancheva
Telerik team
answered on 13 Oct 2010, 11:01 AM
Hi mike chang,

In order to modify the default style of the RadSlider you have to edit its ControlTemplate - read more.
I prepared a sample project containing a custom RadSlider style that looks like the snapshot you sent. Take a look at it and let us know if we can further assist you.

Also, bellow is the list of changes that I implemented in the default ControlTemplate of the RadSlider. I hope this information will help you. 
1. Modify the "HorizontalRangeSelectionThumb" Template:
  • Modify "border" Border element by:
        -change BorderBrush to Black
        -remove Height property
        -set Margin to 3
2. Modify the RadSlider ControlTemplate:
  • Modify "HorizontalRangeTemplate" Grid element:
        -Set the Height property accordingly to your needs ( I set it to 100)
  • Modify the "HorizontalRangeMiddleThumb" thumb element
        -Set VerticalAlignment  to Stretch
        -Set HorizontalAlignment to Stretch
  • Rearrange the Thumbs elements so that the "HorizontalRangeMiddleThumb" element spans through the whole range. In order to do so:
        -Set the "HorizontalRangeMiddleThumb" thumb element in Grid.Column=1 and Grid.ColumnSpan=3
        -Set the "HorizontalRangeStartThumb" thumb element HorizontalAlignment = Left
        -Set the "HorizontalRangeEndThumb" thumb element HorizontalAlignment = Right
3. Also, change the following resources accordingly:
  • "SliderRangeMiddleThumb_Margin" Thickness controls the "HorizontalRangeMiddleThumb" element BorderTickness - set it to 1
  • "SliderRangeMiddleThumb_Background" LinearGradientBrush controls the "HorizontalRangeMiddleThumb" element Normal state background - replace it with a SolidColorBrush with Color="Transparent"
  •  "SliderRangeMiddleThumb_Background_State" LinearGradientBrush controls the "HorizontalRangeMiddleThumb" element MouseOver state background - replace it with a SolidColorBrush with Color="Transparent"

Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
mike chang
Top achievements
Rank 1
answered on 14 Oct 2010, 03:37 AM
that is what i want!, thank you!
Tags
Slider
Asked by
mike chang
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
mike chang
Top achievements
Rank 1
Share this question
or