The C1RangeSlider control enables the end-user to select two values from a range by moving two Thumb controls along a track.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
[TemplatePartAttribute(Name = "VerticalLowerThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "VerticalIncreaseRepeatButton", Type = typeof(RepeatButton))]
[TemplatePartAttribute(Name = "HorizontalTemplate", Type = typeof(Grid))]
[TemplateVisualStateAttribute(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplatePartAttribute(Name = "LowerThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "UpperThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "DecreaseRepeatButton", Type = typeof(RepeatButton))]
[TemplatePartAttribute(Name = "IncreaseRepeatButton", Type = typeof(RepeatButton))]
[TemplatePartAttribute(Name = "MiddleThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "VerticalUpperThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "VerticalMiddleThumb", Type = typeof(Thumb))]
[TemplatePartAttribute(Name = "VerticalDecreaseRepeatButton", Type = typeof(RepeatButton))]
[TemplatePartAttribute(Name = "VerticalTemplate", Type = typeof(Grid))]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
public class C1RangeSlider : Control
Visual Basic
<TemplatePartAttribute(Name := "VerticalLowerThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "VerticalIncreaseRepeatButton", Type := GetType(RepeatButton))> _
<TemplatePartAttribute(Name := "HorizontalTemplate", Type := GetType(Grid))> _
<TemplateVisualStateAttribute(Name := "Valid", GroupName := "ValidationStatesStates")> _
<TemplatePartAttribute(Name := "LowerThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "UpperThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "DecreaseRepeatButton", Type := GetType(RepeatButton))> _
<TemplatePartAttribute(Name := "IncreaseRepeatButton", Type := GetType(RepeatButton))> _
<TemplatePartAttribute(Name := "MiddleThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "VerticalUpperThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "VerticalMiddleThumb", Type := GetType(Thumb))> _
<TemplatePartAttribute(Name := "VerticalDecreaseRepeatButton", Type := GetType(RepeatButton))> _
<TemplatePartAttribute(Name := "VerticalTemplate", Type := GetType(Grid))> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "InvalidUnfocused", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _
<StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _
Public Class C1RangeSlider _
	Inherits Control

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Silverlight..::..C1RangeSlider

See Also