WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfRangeSlider

    Show / Hide Table of Contents

    Class SfRangeSlider

    RangeSlider is a Windows.UI.Xaml.Controls.Primitives.RangeBase that lets the user select from a range of values by moving a Windows.UI.Xaml.Controls.Primitives.Thumb control along a track.

    Inheritance
    System.Object
    SfRangeSlider
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Input
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class SfRangeSlider : RangeBase, IDisposable
    Remarks

    Range Slider control allows the user to select the range of value within the specified minimum and maximum limit. The range can be selected by moving the Thumb control along a track.

    Constructors

    SfRangeSlider()

    Initializes a new instance of the SfRangeSlider class.

    Declaration
    public SfRangeSlider()

    Fields

    ActiveMinorTickStrokeProperty

    Identifies the ActiveMinorTickStroke dependency property.

    Declaration
    public static readonly DependencyProperty ActiveMinorTickStrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    If ShowRange is false,then active range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to System.Windows.Controls.Primitives.RangeBase.Value. Otherwise the active range is the area between RangeStart and RangeEnd is active range.

    ActiveTickStrokeProperty

    Identifies the ActiveTickStroke dependency property.

    Declaration
    public static readonly DependencyProperty ActiveTickStrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    If ShowRange is false, then active range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to System.Windows.Controls.Primitives.RangeBase.Value. otherwise the active range is the area from RangeStart and RangeEnd.

    ActiveTrackStyleProperty

    Identifies the ActiveTrackStyle dependency property.

    Declaration
    public static readonly DependencyProperty ActiveTrackStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    To define a System.Windows.Style for a active track, specify a TargetType of System.Windows.Shapes.Rectangle

    AllowRangeDragProperty

    Using a DependencyProperty as the backing store for AllowRangeDrag. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty AllowRangeDragProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CustomLabelsProperty

    Using a DependencyProperty as the backing store for CustomLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty CustomLabelsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    InactiveTrackStyleProperty

    Identifies the InactiveTrackStyle dependency property.

    Declaration
    public static readonly DependencyProperty InactiveTrackStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    To define a System.Windows.Style for a inactive track, specify a TargetType of System.Windows.Shapes.Rectangle.

    IntermediateRangeEndProperty

    Using a DependencyProperty as the backing store for RangeEnd. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IntermediateRangeEndProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IntermediateRangeStartProperty

    Using a DependencyProperty as the backing store for RangeStart. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IntermediateRangeStartProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IntermediateValueProperty

    Using a DependencyProperty as the backing store for IntermediateValue. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IntermediateValueProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsDirectionReversedProperty

    Using a DependencyProperty as the backing store for IsDirectionReversed. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IsDirectionReversedProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LabelOrientationProperty

    Using a DependencyProperty as the backing store for LabelOrientation. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelOrientationProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LabelPlacementProperty

    Using a DependencyProperty as the backing store for LabelPlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelPlacementProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MinorTickFrequencyProperty

    Identifies the MinorTickFrequency dependency property.

    Declaration
    public static readonly DependencyProperty MinorTickFrequencyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The interval between the minor and major ticks will be increased or decreased based on corresponding field value

    MinorTickLengthProperty

    Identifies the MinorTickLength dependency property.

    Declaration
    public static readonly DependencyProperty MinorTickLengthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    Minor tick length will be increased or decreased based on corresponding field value

    MinorTickStrokeProperty

    Identifies the MinorTickStroke dependency property.

    Declaration
    public static readonly DependencyProperty MinorTickStrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    If ShowRange is false, then Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Value to System.Windows.Controls.Primitives.RangeBase.Maximum. otherwise the Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum.

    MinorTickStrokeThicknessProperty

    Identifies the MinorTickStrokeThickness dependency property.

    Declaration
    public static readonly DependencyProperty MinorTickStrokeThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    Minor tick stroke thickness will be increased or decreased based on corresponding field value

    MoveToPointProperty

    Using a DependencyProperty as the backing store for ShowRange. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MoveToPointProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    OrientationProperty

    Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty OrientationProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    RangeEndProperty

    Using a DependencyProperty as the backing store for RangeEnd. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty RangeEndProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    RangeStartProperty

    Using a DependencyProperty as the backing store for RangeStart. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty RangeStartProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowCustomLabelsProperty

    Using a DependencyProperty as the backing store for ShowCustomLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowCustomLabelsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowRangeProperty

    Using a DependencyProperty as the backing store for ShowRange. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowRangeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowValueLabelsProperty

    Using a DependencyProperty as the backing store for ShowValueLabels. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ShowValueLabelsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SnapsToProperty

    Using a DependencyProperty as the backing store for SnapsTo. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SnapsToProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StepFrequencyProperty

    Using a DependencyProperty as the backing store for StepFrequency. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty StepFrequencyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ThumbIntervalProperty

    Using a DependencyProperty as the backing store for ThumbInterval. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ThumbIntervalProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ThumbStyleProperty

    Identifies the ThumbStyle dependency property.

    Declaration
    public static readonly DependencyProperty ThumbStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    To define a System.Windows.Style for a thumb, specify a TargetType of System.Windows.Controls.Primitives.Thumb.

    ThumbToolTipPlacementProperty

    Using a DependencyProperty as the backing store for ThumbTooltipPlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ThumbToolTipPlacementProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ThumbToolTipPrecisionProperty

    Using a DependencyProperty as the backing store for ThumbToolTipPrecision. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ThumbToolTipPrecisionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TickFrequencyProperty

    Using a DependencyProperty as the backing store for TickFrequency. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TickFrequencyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TickLengthProperty

    Identifies the TickLength dependency property.

    Declaration
    public static readonly DependencyProperty TickLengthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    Tick length will be increased or decreased based on corresponding field value.

    TickPlacementProperty

    Using a DependencyProperty as the backing store for TickPlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TickPlacementProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TickStrokeProperty

    Identifies the TickStroke dependency property.

    Declaration
    public static readonly DependencyProperty TickStrokeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    If ShowRange is false, then Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Value to System.Windows.Controls.Primitives.RangeBase.Maximum. otherwise the Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum.

    TickStrokeThicknessProperty

    Identifies the TickStrokeThickness dependency property.

    Declaration
    public static readonly DependencyProperty TickStrokeThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    Tick stroke thickness will be increased or decreased based on corresponding field value

    ToolTipDisplayModeProperty

    Declaration
    public static readonly DependencyProperty ToolTipDisplayModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ToolTipFormatProperty

    Identifies the ToolTipFormat dependency property.

    Declaration
    public static readonly DependencyProperty ToolTipFormatProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The format string used must follow standard .NET Framework format specifications. For more information, see

    ToolTipStyleProperty

    Identifies the ToolTipStyle dependency property.

    Declaration
    public static readonly DependencyProperty ToolTipStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    To define a System.Windows.Style for a ToolTip, specify a TargetType of System.Windows.Controls.ToolTip.

    ValuePlacementProperty

    Using a DependencyProperty as the backing store for ValuePlacement. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ValuePlacementProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ActiveMinorTickStroke

    Gets or sets a brush that specifies the minor tick color in active range. The area between RangeStart and RangeEnd is active range.

    Declaration
    public Brush ActiveMinorTickStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The brush used to apply to the minor ticks in between the RangeStart and RangeEnd values. The default value is black.

    Remarks

    When ShowRange is false, active range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to System.Windows.Controls.Primitives.RangeBase.Value.

    See Also
    MinorTickFrequency
    MinorTickStroke

    ActiveTickStroke

    Gets or sets a brush that specifies the tick color in active range. The area between RangeStart and RangeEnd is active range.

    Declaration
    public Brush ActiveTickStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The brush used to apply to the ticks in between the RangeStart and RangeEnd values. The default value is black.

    Remarks

    When ShowRange is false, active range is the area from System.Windows.Controls.Primitives.RangeBase.Minimum to System.Windows.Controls.Primitives.RangeBase.Value.

    See Also
    TickFrequency
    TickStroke

    ActiveTrackStyle

    Gets or sets the style applied to the track in between start and end thumbs in the SfRangeSlider

    Declaration
    public Style ActiveTrackStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    The style that is applied to the track in between start and end thumbs in the SfRangeSlider. The default value is null.

    Remarks

    To define a System.Windows.Style for a active track, specify a TargetType of System.Windows.Shapes.Rectangle

    AllowRangeDrag

    Indicates whether allow to drag the ranges or not.

    Declaration
    public bool AllowRangeDrag { get; set; }
    Property Value
    Type Description
    System.Boolean

    CustomLabels

    Gets or sets the value for custom labels.

    Declaration
    public ObservableCollection<Items> CustomLabels { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<Items>

    InactiveTrackStyle

    Gets or sets the style applied to the track in between the System.Windows.Controls.Primitives.RangeBase.Minimum value and the left thumb, and the right thumb and the System.Windows.Controls.Primitives.RangeBase.Maximum value in the SfRangeSlider

    Declaration
    public Style InactiveTrackStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    The style that is applied to the track in between the System.Windows.Controls.Primitives.RangeBase.Minimum value and the left thumb, and the right thumb and the System.Windows.Controls.Primitives.RangeBase.Maximum value in the SfRangeSlider. The default value is null.

    Remarks

    To define a System.Windows.Style for a inactive track, specify a TargetType of System.Windows.Shapes.Rectangle.

    IntermediateRangeEnd

    Gets the intermediate Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeEnd value.

    Declaration
    public double IntermediateRangeEnd { get; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeStart
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeStart
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeEnd

    IntermediateRangeStart

    Gets the intermediate Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeStart value.

    Declaration
    public double IntermediateRangeStart { get; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeStart
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeEnd
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeEnd

    IntermediateValue

    Gets the intermediate value. This works when Syncfusion.UI.Xaml.Controls.Input.RangeSlider.ShowRange is false.

    Declaration
    public double IntermediateValue { get; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeEnd
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeStart

    IsDirectionReversed

    Gets or sets a value indicating whether true or false. Syncfusion.UI.Xaml.Controls.Input.RangeSlider.

    Declaration
    public bool IsDirectionReversed { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is direction reversed; otherwise, false.

    Remarks

    The default is false.

    LabelOrientation

    Gets or sets the orientation of the label

    Declaration
    public Orientation LabelOrientation { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.Orientation

    LabelPlacement

    Gets or sets the value that determines the placement of label.

    Declaration
    public LabelPlacement LabelPlacement { get; set; }
    Property Value
    Type Description
    LabelPlacement
    Remarks

    The default value is Syncfusion.UI.Xaml.Controls.Input.LabelPlacement.TopLeft

    MinorTickFrequency

    Gets or sets the number of smaller ticks between two major ticks.

    Declaration
    public double MinorTickFrequency { get; set; }
    Property Value
    Type Description
    System.Double

    Customize the interval between the minor ticks in SfRangeSlider. The default length is 0.

    Remarks

    The number of minor ticks that has to be placed in-between the major ticks will be increased or decreased based on a corresponding field value.

    MinorTickLength

    Gets or sets the suggested the length of the minor ticks.

    Declaration
    public double MinorTickLength { get; set; }
    Property Value
    Type Description
    System.Double

    Customizes the length of the minor ticks in SfRangeSlider. The default length is 2.5.

    Remarks

    Minor tick length get increased or decreased based on corresponding field value

    See Also
    MinorTickFrequency

    MinorTickStroke

    Gets or sets a brush that specifies the minor tick color in inactive range. The area between System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum is inactive range.

    Declaration
    public Brush MinorTickStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The brush used to apply to the minor ticks in between the System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum values. The default value is black.

    Remarks

    When ShowRange is false, Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Value to System.Windows.Controls.Primitives.RangeBase.Maximum.

    See Also
    MinorTickFrequency
    ActiveMinorTickStroke

    MinorTickStrokeThickness

    Gets or sets the stroke thickness of the minor ticks.

    Declaration
    public double MinorTickStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    Customizes the minor tick stroke thickness of the ticks in SfRangeSlider. The default stroke thickness is one.

    Remarks

    The thickness of the minor ticks will get increased or decreased based on corresponding field value

    See Also
    MinorTickFrequency

    MoveToPoint

    Gets or sets a value indicating whether to change thumb position Syncfusion.UI.Xaml.Controls.Input.RangeSlider.

    Declaration
    public MovePoint MoveToPoint { get; set; }
    Property Value
    Type Description
    MovePoint

    true it show the range; otherwise, false.

    Remarks

    The default value is None.

    Orientation

    Gets or sets the value that determines orientation of the control either vertical or horizontal.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.Orientation

    It will accepts the type is Windows.UI.Xaml.Controls.Orientation. The default value is Windows.UI.Xaml.Controls.Orientation.Horizontal.

    RangeEnd

    Gets or sets the value indicating position of the right / bottom thumb.

    Declaration
    public double RangeEnd { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeStart
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeStart
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeEnd

    RangeStart

    Gets or sets the value indicating position of the left / top thumb.

    Declaration
    public double RangeStart { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.RangeEnd
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeEnd
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.IntermediateRangeStart

    ShowCustomLabels

    Gets or sets a value indicating whether true or false.

    Declaration
    public bool ShowCustomLabels { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if instance is created ; otherwise, false.

    Remarks

    The default value is false

    ShowRange

    Gets or sets a value indicating whether true or false.

    Declaration
    public bool ShowRange { get; set; }
    Property Value
    Type Description
    System.Boolean

    true it show the range; otherwise, false.

    Remarks

    The default value is false.

    ShowValueLabels

    Gets or sets a value indicating whether true or false.

    Declaration
    public bool ShowValueLabels { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if instance is created ; otherwise, false.

    Remarks

    The default value is false

    SnapsTo

    Gets or sets the value that restricts range snaps movement.

    Declaration
    public SliderSnapsTo SnapsTo { get; set; }
    Property Value
    Type Description
    SliderSnapsTo

    The default value is Syncfusion.UI.Xaml.Controls.Input.SliderSnapsTo.StepValues.

    StepFrequency

    Gets or sets the value that determines intervals of the thumb step movement .

    Declaration
    public double StepFrequency { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.TickFrequency

    ThumbInterval

    Gets or sets the interval between thumbs

    Declaration
    public int ThumbInterval { get; set; }
    Property Value
    Type Description
    System.Int32

    ThumbStyle

    Gets or sets the style applied to the System.Windows.Controls.Primitives.Thumb in the SfRangeSlider

    Declaration
    public Style ThumbStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    The style that is applied to the System.Windows.Controls.Primitives.Thumb in the SfRangeSlider. The default value is null.

    Remarks

    To define a System.Windows.Style for a thumb, specify a TargetType of System.Windows.Controls.Primitives.Thumb.

    ThumbToolTipPlacement

    Gets or sets the value that determines the placement of tool tip.

    Declaration
    public ThumbToolTipPlacement ThumbToolTipPlacement { get; set; }
    Property Value
    Type Description
    ThumbToolTipPlacement

    The default value is  Syncfusion.UI.Xaml.Controls.Input.ThumbToolTipPlacement.TopLeft.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.ThumbToolTipPrecision

    ThumbToolTipPrecision

    Gets or sets the value that determines the number of digits to be displayed in tool tip.

    Declaration
    public int ThumbToolTipPrecision { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.ThumbToolTipPlacement

    TickFrequency

    Gets or sets the value that determines intervals of the thumb step movement.

    Declaration
    public double TickFrequency { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.RangeSlider.StepFrequency

    TickLength

    Gets or sets the suggested the length of the TickBarItem element.

    Declaration
    public double TickLength { get; set; }
    Property Value
    Type Description
    System.Double

    Customize the length of the ticks in SfRangeSlider. The default length is five.

    Remarks

    Tick length will be increased or decreased based on corresponding field value.

    TickPlacement

    Gets or sets the value that determines intervals of the tick representation.

    Declaration
    public TickPlacement TickPlacement { get; set; }
    Property Value
    Type Description
    TickPlacement

    The default value is Syncfusion.UI.Xaml.Controls.Input.TickPlacement.Inline.

    TickStroke

    Gets or sets a brush that specifies the tick color in inactive range. The area between System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum is inactive range.

    Declaration
    public Brush TickStroke { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The brush used to apply to the ticks in between the System.Windows.Controls.Primitives.RangeBase.Minimum to RangeStart and RangeEnd to System.Windows.Controls.Primitives.RangeBase.Maximum values. The default value is black.

    Remarks

    When ShowRange is false, Inactive range is the area from System.Windows.Controls.Primitives.RangeBase.Value to System.Windows.Controls.Primitives.RangeBase.Maximum.

    See Also
    TickFrequency
    ActiveTickStroke

    TickStrokeThickness

    Gets or sets the suggested stroke thickness of the TickBarItem element.

    Declaration
    public double TickStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    Customize the stroke thickness of the ticks in SfRangeSlider. The default stroke thickness is one.

    Remarks

    Tick stroke thickness will be increased or decreased based on corresponding field value.

    ToolTipDisplayMode

    Declaration
    public ToolTipDisplayMode ToolTipDisplayMode { get; set; }
    Property Value
    Type Description
    ToolTipDisplayMode

    ToolTipFormat

    Gets or sets the format-specifier characters that indicate how a value is to be displayed for the ToolTip.

    Declaration
    public string ToolTipFormat { get; set; }
    Property Value
    Type Description
    System.String

    Displays the formatted string to the ToolTip based on the format string.

    Remarks

    The format string used must follow standard .NET Framework format specifications. For more information, see

    ToolTipStyle

    Gets or sets the style applied to the System.Windows.Controls.ToolTip in the SfRangeSlider

    Declaration
    public Style ToolTipStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    The style that is applied to the System.Windows.Controls.ToolTip element in the SfRangeSlider. The default value is null.

    Remarks

    To define a System.Windows.Style for a ToolTip, specify a TargetType of System.Windows.Controls.ToolTip.

    ValuePlacement

    Gets or sets the value that determines the placement of value representation.

    Declaration
    public ValuePlacement ValuePlacement { get; set; }
    Property Value
    Type Description
    ValuePlacement
    Remarks

    The default value is Syncfusion.UI.Xaml.Controls.Input.ValuePlacement.BottomRight

    Methods

    Dispose()

    To clear unused objects

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose method

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    boolean value

    OnApplyTemplate()

    Initializes all the child elements of Syncfusion.UI.Xaml.Controls.Input.RangeSlider control.

    Declaration
    public override void OnApplyTemplate()

    OnGotFocus(RoutedEventArgs)

    Occurs when the focus is obtained

    Declaration
    protected override void OnGotFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    Routed event args

    OnHorizontalRangeEndThumbDragDelta(Object, DragDeltaEventArgs)

    Occurs when the HorizontalRangeEndThumb is dragged.

    Declaration
    protected virtual void OnHorizontalRangeEndThumbDragDelta(object sender, DragDeltaEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    object type

    System.Windows.Controls.Primitives.DragDeltaEventArgs e

    Drag delta event args type

    OnKeyDown(KeyEventArgs)

    Occurs when the key is pressed

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    Routed event args

    OnLostFocus(RoutedEventArgs)

    Occurs when the focus is lost

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    Routed event args

    OnLostMouseCapture(MouseEventArgs)

    Closes the ToolTips

    Declaration
    protected override void OnLostMouseCapture(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMaximumChanged(Double, Double)

    Occurs when the Maximum value has changed.

    Declaration
    protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
    Parameters
    Type Name Description
    System.Double oldMaximum

    old Maximum value

    System.Double newMaximum

    new Maximum value

    OnMinimumChanged(Double, Double)

    Occurs when the Minimum value has changed.

    Declaration
    protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
    Parameters
    Type Name Description
    System.Double oldMinimum

    Double type

    System.Double newMinimum

    new minimum value

    OnMouseDown(MouseButtonEventArgs)

    Occurs when the pointer is moved

    Declaration
    protected override void OnMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Routed event args

    OnMouseEnter(MouseEventArgs)

    Occurs when the pointer entered

    Declaration
    protected override void OnMouseEnter(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    Routed event args

    OnMouseLeave(MouseEventArgs)

    Occurs when the pointer exited

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    Routed event args

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Occurs when the pointer is pressed

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Routed event args

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Occurs when the focus is obtained

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Routed event args

    OnMouseMove(MouseEventArgs)

    Gets the position of the pointer when the mouse is moved

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    Events

    LabelLoaded

    Occurs when label values are loadedSyncfusion.UI.Xaml.Controls.Layout.Input is changed.

    Declaration
    public event LabelLoadedEventHandler LabelLoaded
    Event Type
    Type Description
    LabelLoadedEventHandler

    RangeChanged

    Occurs when RangeStart or RangeEnd gets changedSyncfusion.UI.Xaml.Controls.Layout.Input is changed.

    Declaration
    public event RangeChangedEventHandler RangeChanged
    Event Type
    Type Description
    RangeChangedEventHandler

    RangeEndChanged

    Occurs when RangeEnd gets changedSyncfusion.UI.Xaml.Controls.Layout.Input is changed.

    Declaration
    public event RangeEndChangedEventHandler RangeEndChanged
    Event Type
    Type Description
    RangeEndChangedEventHandler

    RangeStartChanged

    Occurs when RangeStart gets changedSyncfusion.UI.Xaml.Controls.Layout.Input is changed.

    Declaration
    public event RangeStartChangedEventHandler RangeStartChanged
    Event Type
    Type Description
    RangeStartChangedEventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved