[]
        
(Showing Draft Content)

C1.Win.C1Input.C1RangeSlider

C1RangeSlider Class

Represents a Windows range slider control supporting additional visual styles.

Inheritance
C1RangeSlider
Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1RangeSlider), "C1RangeSlider.png")]
public class C1RangeSlider : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
C1RangeSlider()

Initializes a new instance of the C1RangeSlider class.

Properties

Name Description
DefaultThemeRootPath

Default Theme root path.

Enabled

Gets or sets a value indicating whether the control can respond to user interaction.

IsDirectionReversed

Gets or sets the direction of increasing value.

IsRangeBarVisible

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

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 C1RangeSlider.

ScrollBehavior

Gets or sets how thumbs will be moved when mouse click will be performed outside selected 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 a collection of named Style objects.

UpperThumbPath

Gets or sets custom thumb path for upper value.

UpperValue

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

VisualStyle

Gets or sets the visual style of the control.

Methods

Name Description
Dispose(bool)

Releases the resources used by the C1RangeSlider.

OnDirectionChanged(EventArgs)

This method is for internal use only.

OnEnter(EventArgs)
OnGotFocus(EventArgs)
OnKeyDown(KeyEventArgs)
OnLostFocus(EventArgs)
OnLowerValueChanged(EventArgs)

This method is for internal use only.

OnMouseDown(MouseEventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnMouseWheel(MouseEventArgs)

Raises the System.Windows.Forms.Control.MouseWheel event. This method is for internal use only.

OnOrientationChanged(EventArgs)

This method is for internal use only.

OnPaint(PaintEventArgs)
OnPreviewKeyDown(PreviewKeyDownEventArgs)
OnUpperValueChanged(EventArgs)

This method is for internal use only.

OnValueChanged(EventArgs)

This method is for internal use only.

OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

ResetStyles()
ResetVisualStyle()

Resets VisualStyle to the default value.

ResetVisualStyleBaseStyle()
ShouldSerializeStyles()
ShouldSerializeVisualStyle()

Tests whether VisualStyle should be serialized.

ShouldSerializeVisualStyleBaseStyle()

Events

Name Description
DirectionChanged

Fires when the IsDirectionReversed property changes.

LowerValueChanged

Fires when the LowerValue property changes.

OrientationChanged

Fires when the Orientation property changes.

UpperValueChanged

Fires when the UpperValue property changes.

ValueChanged

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

VisualStyleChanged

Occurs when the VisualStyle property has changed.