[]
        
(Showing Draft Content)

C1.Blazor.Input.C1Slider

C1Slider Class

Slider.

Inheritance
C1Slider
Namespace: C1.Blazor.Input
Assembly: C1.Blazor.Input.dll
Syntax
public class C1Slider : SliderBase, IComponent, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable

Constructors

Name Description
C1Slider()

Initializes a new instance of the C1Slider class.

Fields

Name Description
IsEnabledProperty

Identifies the IsEnabled 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.

ThumbStyleProperty

Identifies the ThumbStyle dependency property.

TrackStyleProperty

Identifies the TrackStyle dependency property.

ValueProperty

Identifies the Value dependency property.

_valuesParameterChanged

Flag used to define whether the any of slider's values was changed (e.g. Minimum or Maximum, or thumb value.).

Properties

Name Description
IsDisposed

Gets whether this instance is disposed.

IsEnabled

Gets or sets a value indicating whether this element is enabled in the user interface (UI).

Maximum

The greatest value in the range of permitted values. This value must be greater than or equal to the value of the Minimum parameter.

Minimum

The lowest value in the range of permitted values. This value must be less than or equal to the value of the Maximum parameter.

Orientation

Orientation of the slider.

ScrollBehavior

Gets or sets how the thumb will be moved when a pointer click will be performed outside the area.

ThumbStyle

Thumb style.

TrackStyle

Track style.

Value

Gets or sets the current value.

ValueChanged

Gets or sets the callback called when the Value property has changed.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
GetIsEnabled()

Return the slider's IsEnabled.

GetMaximum()

Return the slider's maximum value.

GetMinimum()

Return the slider's minimum value.

GetOrientation()

Return the slider's Orientation.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)
SetParametersAsync(ParameterView)