Class IgbSliderBase
Inheritance
System.Object
IgbSliderBase
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbSliderBase : BaseRendererControl, RefSink, JsonSerializable, IDisposable
Constructors
IgbSliderBase()
Declaration
Properties
DefaultEventBehavior
Declaration
protected override ControlEventBehavior DefaultEventBehavior { get; }
Property Value
Overrides
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Disabled
Disables the UI interactions of the slider.
Declaration
public bool Disabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
DiscreteTrack
Marks the slider track as discrete so it displays the steps.
If the step is 0, the slider will remain continuos even if discreteTrack is true.
Declaration
public bool DiscreteTrack { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HidePrimaryLabels
Hides the primary tick labels.
Declaration
public bool HidePrimaryLabels { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HideSecondaryLabels
Hides the secondary tick labels.
Declaration
public bool HideSecondaryLabels { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool HideTooltip { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Locale
The locale used to format the thumb and tick label values in the slider.
Declaration
public string Locale { get; set; }
Property Value
| Type |
Description |
| System.String |
|
LowerBound
The lower bound of the slider value. If not set, the min value is applied.
Declaration
public double LowerBound { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Max
The maximum value of the slider scale. Defaults to 100.
If max is less than min the call is a no-op.
If labels are provided (projected), then max is always set to
the number of labels.
If upperBound ends up being greater than than the current max value,
it is automatically assigned the new max value.
Declaration
public double Max { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Min
The minimum value of the slider scale. Defaults to 0.
If min is greater than max the call is a no-op.
If labels are provided (projected), then min is always set to 0.
If lowerBound ends up being less than than the current min value,
it is automatically assigned the new min value.
Declaration
public double Min { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
PrimaryTicks
The number of primary ticks. It defaults to 0 which means no primary ticks are displayed.
Declaration
public double PrimaryTicks { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
SecondaryTicks
The number of secondary ticks. It defaults to 0 which means no secondary ticks are displayed.
Declaration
public double SecondaryTicks { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Step
Specifies the granularity that the value must adhere to.
If set to 0 no stepping is implied and any value in the range is allowed.
If labels are provided (projected) then the step is always assumed to be 1 since it is a discrete slider.
Declaration
public double Step { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
TickLabelRotation
The degrees for the rotation of the tick labels. Defaults to 0.
Declaration
public SliderTickLabelRotation TickLabelRotation { get; set; }
Property Value
TickOrientation
Changes the orientation of the ticks.
Declaration
public SliderTickOrientation TickOrientation { get; set; }
Property Value
Type
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
UpperBound
The upper bound of the slider value. If not set, the max value is applied.
Declaration
public double UpperBound { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
String format used for the thumb and tick label values in the slider.
Declaration
public string ValueFormat { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Number format options used for the thumb and tick label values in the slider.
Declaration
public IgbNumberFormatSpecifier ValueFormatOptions { get; set; }
Property Value
Methods
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
| Type |
Description |
| System.String |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
| Type |
Name |
Description |
| System.Object |
element |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
System.IDisposable