[]
        
(Showing Draft Content)

C1.WPF.Input.C1StopsSlider

C1StopsSlider Class

The stops-slider control enables the end-user to select multiple values by moving thumbs along a track as well as creating new ones by tapping or removing with Del key.

Inheritance
C1StopsSlider
Namespace: C1.WPF.Input
Assembly: C1.WPF.Input.dll
Syntax
[StyleTypedProperty(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
[TemplatePart(Name = "TrackGrid", Type = typeof(Grid))]
[TemplatePart(Name = "Track", Type = typeof(FrameworkElement))]
public class C1StopsSlider : C1View

Constructors

Name Description
C1StopsSlider()

Initializes a new instance of the C1StopsSlider class.

Fields

Name Description
AllowAddingProperty

Identifies the AllowAdding dependency property.

AllowRemovingProperty

Identifies the AllowRemoving dependency property.

MaximumProperty

Identifies the Maximum dependency property.

MinimumProperty

Identifies the Minimum dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedStopStyleProperty

Identifies the SelectedStopStyle dependency property.

StopStyleProperty

Identifies the StopStyle dependency property.

TrackStyleProperty

Identifies the TrackStyle dependency property.

TrackVisibilityProperty

Identifies the TrackVisibility dependency property.

ValidationDecoratorStyleProperty

Identifies the ValidationDecoratorStyle dependency property.

Properties

Name Description
AllowAdding

Gets or sets whether new stops can be added by tapping the track.

AllowRemoving

Gets or sets whether new stops can be removed by pressing Del key.

Maximum

Gets or sets the maximum value.

Minimum

Gets or sets the minimum value.

SelectedIndex

Gets or sets the index of the selected stop.

SelectedStopStyle

Gets or sets the style of the selected thumb.

StopStyle

Gets or sets the style of the thumbs.

Stops

Gets the collection of stops in the control.

TrackStyle

Gets or sets the style of the track element.

TrackVisibility

Gets or sets whether the track bar should be displayed.

ValidationDecoratorStyle

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

Methods

Name Description
Dispose(bool)
OnApplyTemplate()
OnKeyDown(KeyEventArgs)

Events

Name Description
SelectedIndexChanged

Event raised when the SelectedIndex property has changed.

StopsChanged

Called when the collection of stops changed.