I am looking for a way to highlight segments (in yellow) on the slider / runtime panel as follows:
I found an article in an article on how to create a custom WPF slider using style:
http://codingsense.wordpress.com/2010/02/01/customize-a-slider-in-wpf-step-by-step-tutorial/
http://codeblitz.wordpress.com/2009/06/12/wpf-control-templating/
http://www.codeproject.com/Articles/36802/WPF-Colour-Slider
But I just need to select the selected segments on the slider.
For instance:
//Given: List<Rectangle> rectangles; //And invoke mycontrol.highlight(rectangles);
How can i do this? Or more specifically, how can I draw a slider at runtime?
in the slider Property IsSelectionRangeEnabled
true, . , SelectionStart SelectionEnd. , . , , .