[]
        
(Showing Draft Content)

C1.Win.Input.C1RangeSlider

C1RangeSlider Class

Represents a Windows range slider control supporting additional visual styles.

Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
[ToolboxBitmap(typeof(C1RangeSlider), "C1RangeSlider.png")]
public class C1RangeSlider : C1InputControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaTransformProvider

Constructors

Name Description
C1RangeSlider()

Initializes a new instance of the C1RangeSlider class.

Properties

Name Description
DefaultSize

Gets the default size of the control.

IsDirectionReversed

Gets or sets the direction of increasing value.

LargeChange

Gets or sets the value to be added to or subtracted from the LowerValue or UpperValue properties when the lower value thumb or upper value thumb is moved a large distance.

LowerThumbPath

Gets or sets custom thumb path for 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

Gets or sets a value indicating the horizontal or vertical orientation of the control.

ScrollBehavior

Gets or sets a value indicating how thumbs will be moved when mouse click will be performed outside thumb area.

SmallChange

Gets or sets the value to be added to or subtracted from the LowerValue or UpperValue properties when the lower value thumb or upper value thumb is moved a small distance.

Styles

Gets or sets the C1RangeSlider styles.

UpperThumbPath

Gets or sets custom thumb path for upper value.

UpperValue

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

Methods

Name Description
ApplyStyle()

Applies the style to control view.

CreateUiaItem(UiaItem)

Creates UI Automation object of this control.

Dispose(bool)

Releases the unmanaged resources used by the C1RangeSlider control.

OnDirectionChanged(EventArgs)

Raises the DirectionChanged event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnLowerValueChanged(EventArgs)

Raises the LowerValueChanged event.

OnMouseWheel(MouseEventArgs)

Raises the System.Windows.Forms.Control.MouseWheel event.

OnOrientationChanged(EventArgs)

Raises the OrientationChanged event.

OnPreviewKeyDown(PreviewKeyDownEventArgs)

Raises the PreviewKeyDown event.

OnUpperValueChanged(EventArgs)

Raises the UpperValueChanged event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

Events

Name Description
DirectionChanged

Occurs when the value of the IsDirectionReversed property changes.

LowerValueChanged

Occurs when the value of the LowerValue property changes.

OrientationChanged

Occurs when the value of the Orientation property changes.

UpperValueChanged

Occurs when the value of the UpperValue property changes.

ValueChanged

Occurs when the value of the LowerValueor UpperValue properties changes.