RangeInputTValue Class

Represents a Blazor component that provides a range input for numeric values.
See Bootstrap Range Input for more information.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public sealed class RangeInput<TValue> : BlazorBootstrapComponentBase, 
	IDisposable
where TValue : struct, new(), INumber<TValue>
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    RangeInputTValue
Implements
IDisposable

Type Parameters

TValue
The type of the numeric value.

Remarks

Supported types for TValue are: sbyte, sbyte?, short, short?, int, int?, long, long?, float, float?, double, double?, decimal or decimal?

Constructors

RangeInputTValueInitializes a new instance of the RangeInputTValue class

Properties

Disabled Gets or sets the disabled state.
Max Gets or sets the maximum value of the range input.
Min Gets or sets the minimum value of the range input.
Step Gets or sets the step value of the range input.
TickMarks Gets or sets the tick marks.
Value Gets or sets the value of the range input.
ValueChanged This event fires when the user specifies a numeric value.
ValueExpression An expression that identifies the bound value.

Methods

BsOnInput Invoked by the JavaScript function when the input value changes.
Disable Disables the range input.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Enable Enables the range input.
SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

Exceptions

InvalidOperationExceptionThrown if Min is larger than Max

See Also