[]
        
(Showing Draft Content)

C1.WinUI.Input.C1RangeSlider

C1RangeSlider Class

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

Inheritance
C1RangeSlider
Implements
Namespace: C1.WinUI.Input
Assembly: C1.WinUI.Input.dll
Syntax
public class C1RangeSlider : Control, IDisposable

Constructors

Name Description
C1RangeSlider()

Initializes a new instance of the C1RangeSlider class.

Fields

Name Description
DelayProperty

Identifies the Delay dependency property.

IntervalProperty

Identifies the Interval dependency property.

LowerThumbStyleProperty

Identifies the LowerThumbStyle dependency property.

LowerValueProperty

Identifies the LowerValue dependency property.

MaximumProperty

Identifies the Maximum dependency property.

MinimumProperty

Identifies the Minimum dependency property.

OrientationProperty

Identifies the Orientation dependency property.

ScrollBehaviorProperty

Identifies the ScrollBehavior dependency property.

SmallValueChangeProperty

Identifies the SmallValueChange dependency property.

TrackStyleProperty

Identifies the TrackStyle dependency property.

TrackVisibilityProperty

Identifies the TrackVisibility dependency property.

UpperThumbStyleProperty

Identifies the UpperThumbStyle dependency property.

UpperValueProperty

Identifies the UpperValue dependency property.

ValidationDecoratorStyleProperty

Identifies the ValidationDecoratorStyle dependency property.

ValueChangeProperty

Identifies the ValueChange dependency property.

ValueTrackStyleProperty

Identifies the ValueTrackStyle dependency property.

Properties

Name Description
Delay

Gets or sets the time, in milliseconds, the RepeatButtons (at the left of the LowerThumb and at the right of the UpperThumb) wait when they are pressed before they start repeating the click action.

Interval

Gets or sets the time, in milliseconds, between repetitions of the click action, as soon as repeating starts (for the RepeatButtons at the left of the LowerThumb and at the right of the UpperThumb).

IsDisposed

Gets whether this instance is disposed.

IsFocused

Gets whether the control is focused.

IsMouseOver

Gets whether the mouse is over the control.

LowerThumbDesiredSize

Returns the desired size of the lower thumb.

LowerThumbStyle

Gets or sets the style of the thumb that changes the lower value.

LowerValue

Gets or sets the current lower magnitude of the range control.

Maximum

Gets or sets the maximum possible value of the range element.

Minimum

Gets or sets the minimum possible value of the range element.

Orientation

The Orientation of the C1RangeSlider.

ScrollBehavior

Gets or sets how thumbs will be moved when mouse click will be performed outside selected area.

SmallValueChange

Gets or sets a value to be added to or subtracted from the Upper/LowerValue of a RangeBase control.

TrackStyle

Gets or sets the style of the track element.

TrackVisibility

Gets or sets a value that indicates whether C1RangeSlider bar should be displayed.

UpperThumbDesiredSize

Returns the desired size of the upper thumb.

UpperThumbStyle

Gets or sets the style of the thumb that changes the upper value.

UpperValue

Gets or sets the current upper magnitude of the range control.

ValidationDecoratorStyle

Gets or sets the style that is applied to the inner C1ValidationDecorator.

ValueChange

Gets or sets a value to be added to or subtracted from the Upper/LowerValue of a RangeBase control.

ValueTrackStyle

Gets or sets the style of the track element between LowerThumb and UpperThumb.

Methods

Name Description
ChangeVisualStateCommon(bool)

Updates the current visual state of the Common visual state group to match the object's properties.

Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1RangeSlider class.

OnApplyTemplate()
OnLowerValueChanged(EventArgs)

Raises the C1RangeSlider.LowerValueChanged event.

OnUpperValueChanged(EventArgs)

Raises the C1RangeSlider.UpperValueChanged event.

OnValueChanged(EventArgs)

Raises the C1RangeSlider.ValueChanged event.

PixelsToUnits(double)

Converts pixels to its corresponding unit value in the range slider

UpdateTrackLayout()

This method will take the current min, max, and value to calculate and layout the current control measurements.

Events

Name Description
LowerValueChanged

Fires when the LowerValue property changes.

UpperValueChanged

Fires when the UpperValue property changes.

ValueChanged

Fires when any of the properties: LowerValue or UpperValue changes.