ComponentOne FinancialChart for WPF
C1RangeSlider Class
Members 



C1.WPF Namespace : C1RangeSlider Class
The C1RangeSlider control enables the end-user to select two values from a range by moving two Thumb controls along a track.
Syntax
'Declaration
 
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="LowerThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="UpperThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="DecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)>
<TemplatePartAttribute(Name="IncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)>
<TemplatePartAttribute(Name="MiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="VerticalLowerThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="VerticalUpperThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="VerticalMiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)>
<TemplatePartAttribute(Name="VerticalDecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)>
<TemplatePartAttribute(Name="VerticalIncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)>
<TemplatePartAttribute(Name="HorizontalTemplate", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="VerticalTemplate", Type=System.Windows.Controls.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="Valid", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStatesStates")>
<TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStatesStates")>
<StyleTypedPropertyAttribute(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)>
Public Class C1RangeSlider 
   Inherits System.Windows.Controls.Control
'Usage
 
Dim instance As C1RangeSlider
[LicenseProvider()]
[TemplatePart(Name="LowerThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="UpperThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="DecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="IncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="MiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalLowerThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalUpperThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalMiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalDecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="VerticalIncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="HorizontalTemplate", Type=System.Windows.Controls.Grid)]
[TemplatePart(Name="VerticalTemplate", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public class C1RangeSlider : System.Windows.Controls.Control 
[LicenseProvider()]
[TemplatePart(Name="LowerThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="UpperThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="DecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="IncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="MiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalLowerThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalUpperThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalMiddleThumb", Type=System.Windows.Controls.Primitives.Thumb)]
[TemplatePart(Name="VerticalDecreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="VerticalIncreaseRepeatButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[TemplatePart(Name="HorizontalTemplate", Type=System.Windows.Controls.Grid)]
[TemplatePart(Name="VerticalTemplate", Type=System.Windows.Controls.Grid)]
[TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[TemplateVisualState(Name="Focused", GroupName="FocusStates")]
[TemplateVisualState(Name="Unfocused", GroupName="FocusStates")]
[TemplateVisualState(Name="Valid", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStatesStates")]
[TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStatesStates")]
[StyleTypedProperty(Property="ValidationDecoratorStyle", StyleTargetType=C1.WPF.C1ValidationDecorator)]
public ref class C1RangeSlider : public System.Windows.Controls.Control 
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     C1.WPF.C1RangeSlider
                        C1.WPF.Chart.Interaction.C1AxisScrollbar
                        C1.WPF.Chart.Interaction.C1RangeSelector

See Also

Reference

C1RangeSlider Members
C1.WPF Namespace