dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
SliderWidget Class
A slider widget that can be used for filtering data, or gathering
numeric input from a user.
ArcGIS Maps SDK for JavaScript
public class SliderWidget : dymaptic.GeoBlazor.Core.Components.Widgets.Widget
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Widget 🡒 SliderWidget
Constructors
SliderWidget() Constructor
Parameterless constructor for use as a Razor Component.
public SliderWidget();
SliderWidget(string, Nullable, Nullable, Nullable, Nullable, string, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, double[], Nullable, Nullable, IReadOnlyList, InputCreatedFunction, SliderLabelFormatter, InputParser, SliderLabelFormatter, ThumbCreatedFunction, IReadOnlyList, Nullable, SliderVisibleElements, IReadOnlyList, Nullable, string, MapView, Nullable, SliderViewModel, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SliderWidget(string containerId, System.Nullable<bool> disabled=null, System.Nullable<bool> draggableSegmentsEnabled=null, System.Nullable<double> effectiveMax=null, System.Nullable<double> effectiveMin=null, string? label=null, System.Nullable<bool> labelInputsEnabled=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderLayout> layout=null, System.Nullable<double> max=null, System.Nullable<double> min=null, System.Nullable<double> precision=null, System.Nullable<bool> rangeLabelInputsEnabled=null, System.Nullable<bool> snapOnClickEnabled=null, double[]? steps=null, System.Nullable<bool> syncedSegmentsEnabled=null, System.Nullable<bool> thumbsConstrained=null, System.Collections.Generic.IReadOnlyList<double>? values=null, dymaptic.GeoBlazor.Core.Functions.InputCreatedFunction? inputCreatedFunction=null, dymaptic.GeoBlazor.Core.Functions.SliderLabelFormatter? inputFormatFunction=null, dymaptic.GeoBlazor.Core.Functions.InputParser? inputParseFunction=null, dymaptic.GeoBlazor.Core.Functions.SliderLabelFormatter? labelFormatFunction=null, dymaptic.GeoBlazor.Core.Functions.ThumbCreatedFunction? thumbCreatedFunction=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.TickConfig>? tickConfigs=null, System.Nullable<bool> visible=null, dymaptic.GeoBlazor.Core.Components.SliderVisibleElements? visibleElements=null, System.Collections.Generic.IReadOnlyList<double>? doubleCollectionSteps=null, System.Nullable<double> doubleSteps=null, string? icon=null, dymaptic.GeoBlazor.Core.Components.Views.MapView? mapView=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.OverlayPosition> position=null, dymaptic.GeoBlazor.Core.Components.SliderViewModel? viewModel=null, string? widgetId=null);
Parameters
containerId
System.String
The ID of the container element for the widget. The widget will be rendered within this container.
disabled
System.Nullable<System.Boolean>
When true
, sets the slider to a disabled state so the user cannot interact
with it.
default false
ArcGIS Maps SDK for JavaScript
draggableSegmentsEnabled
System.Nullable<System.Boolean>
Indicates if the user can drag the segment between thumbs
to update thumb positions.
default true
ArcGIS Maps SDK for JavaScript
effectiveMax
System.Nullable<System.Double>
When set, the user is restricted from moving slider thumbs to positions higher than
this value.
ArcGIS Maps SDK for JavaScript
effectiveMin
System.Nullable<System.Double>
When set, the user is restricted from moving slider thumbs to positions less than
this value.
ArcGIS Maps SDK for JavaScript
label
System.String
The widget’s default label.
ArcGIS Maps SDK for JavaScript
labelInputsEnabled
System.Nullable<System.Boolean>
Indicates whether to enable editing input values via keyboard input
when the user clicks a label.
default false
ArcGIS Maps SDK for JavaScript
layout
System.Nullable<SliderLayout>
Determines the layout/orientation of the Slider widget.
default “horizontal”
ArcGIS Maps SDK for JavaScript
max
System.Nullable<System.Double>
The maximum possible data/thumb value of the slider.
ArcGIS Maps SDK for JavaScript
min
System.Nullable<System.Double>
The minimum possible data/thumb value of the slider.
ArcGIS Maps SDK for JavaScript
precision
System.Nullable<System.Double>
Defines how slider thumb values should be rounded.
default 4
ArcGIS Maps SDK for JavaScript
rangeLabelInputsEnabled
System.Nullable<System.Boolean>
Indicates whether to enable editing range values via keyboard input
when the user clicks a min or max label.
default false
ArcGIS Maps SDK for JavaScript
snapOnClickEnabled
System.Nullable<System.Boolean>
Indicates if the closest thumb will snap to the clicked location on the track.
default true
ArcGIS Maps SDK for JavaScript
steps
System.Double[]
Sets steps on the slider that restrict user input to specific values. If an array of numbers is passed to this property, the slider thumbs may only be moved to the positions specified in the array.
syncedSegmentsEnabled
System.Nullable<System.Boolean>
When true
, all segments will sync together in updating thumb values when the user drags any segment.
default false
ArcGIS Maps SDK for JavaScript
thumbsConstrained
System.Nullable<System.Boolean>
When false
, the user can freely move any slider thumb to any
position along the track.
default true
ArcGIS Maps SDK for JavaScript
values
System.Collections.Generic.IReadOnlyList<System.Double>
An array of numbers representing absolute thumb positions on the slider.
ArcGIS Maps SDK for JavaScript
inputCreatedFunction
InputCreatedFunction(ElementReference, InputCreatedFunctionType, int)
A function that provides the developer with access to the input elements when
rangeLabelInputsEnabled and/or labelInputsEnabled are set to true
.
ArcGIS Maps SDK for JavaScript
inputFormatFunction
SliderLabelFormatter
A function used to format user inputs.
ArcGIS Maps SDK for JavaScript
inputParseFunction
InputParser
Function used to parse slider inputs formatted by the inputFormatFunction.
ArcGIS Maps SDK for JavaScript
labelFormatFunction
SliderLabelFormatter
A function used to format labels.
ArcGIS Maps SDK for JavaScript
thumbCreatedFunction
ThumbCreatedFunction(int, double, ElementReference, ElementReference)
Function that executes each time a thumb is created on the slider.
ArcGIS Maps SDK for JavaScript
tickConfigs
System.Collections.Generic.IReadOnlyList<TickConfig>
When set, renders ticks along the slider track.
ArcGIS Maps SDK for JavaScript
visible
System.Nullable<System.Boolean>
Indicates whether the widget is visible.
default true
ArcGIS Maps SDK for JavaScript
visibleElements
SliderVisibleElements
The visible elements that are displayed within the widget.
ArcGIS Maps SDK for JavaScript
doubleCollectionSteps
System.Collections.Generic.IReadOnlyList<System.Double>
Sets steps, or intervals, on the slider that restrict user
input to specific values.
ArcGIS Maps SDK for JavaScript
doubleSteps
System.Nullable<System.Double>
Sets steps, or intervals, on the slider that restrict user
input to specific values.
ArcGIS Maps SDK for JavaScript
icon
System.String
Icon displayed in the widget’s button.
default “caret-double-horizontal”
ArcGIS Maps SDK for JavaScript
mapView
MapView
If the Widget is defined outside of the MapView, this link is required to connect them together.
position
System.Nullable<OverlayPosition>
The position of the widget in relation to the map view.
viewModel
SliderViewModel
The view model for the Slider widget.
ArcGIS Maps SDK for JavaScript
widgetId
System.String
The unique ID assigned to the widget when the widget is created.
ArcGIS Maps SDK for JavaScript
Properties
SliderWidget.Disabled Property
When true, sets the slider to a disabled state so the user cannot interact with it.
Default Value: false
public System.Nullable<bool> Disabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.DoubleCollectionSteps Property
Sets steps, or intervals, on the slider that restrict user
input to specific values.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<double>? DoubleCollectionSteps { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
SliderWidget.DoubleSteps Property
Sets steps, or intervals, on the slider that restrict user
input to specific values.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> DoubleSteps { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.DraggableSegmentsEnabled Property
Indicates if the user can drag the segment between thumbs to update thumb positions.
Default Value:true
public System.Nullable<bool> DraggableSegmentsEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.EffectiveMax Property
When set, the user is restricted from moving slider thumbs to positions higher than this value. This value should be less than the slider max. The effectiveMax and effectiveMin allow you to represent ranges of values in a dataset that cannot be filtered or selected with the slider. This can be useful when using the slider to represent datasets with outliers, or scale ranges not suitable for a layer.
public System.Nullable<double> EffectiveMax { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.EffectiveMin Property
When set, the user is restricted from moving slider thumbs to positions less than this value. This value should be greater than the slider min. The effectiveMin and effectiveMax allow you to represent ranges of values in a dataset that cannot be filtered or selected with the slider. This can be useful when using the slider to represent datasets with outliers, or scale ranges not suitable for a layer.
public System.Nullable<double> EffectiveMin { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.EffectiveSegmentElements Property
The HTML Element nodes representing the slider segment between the min and effectiveMin, and the segment between the
effectiveMax and max.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? EffectiveSegmentElements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.HasInputCreatedFunction Property
A convenience property that signifies whether a custom InputCreatedFunction function was registered.
public bool HasInputCreatedFunction { get; }
Property Value
SliderWidget.HasInputFormatFunction Property
A convenience property that signifies whether a custom InputFormatFunction function was registered.
public bool HasInputFormatFunction { get; }
Property Value
SliderWidget.HasInputParseFunction Property
A convenience property that signifies whether a custom InputParseFunction function was registered.
public bool HasInputParseFunction { get; }
Property Value
SliderWidget.HasLabelFormatFunction Property
A convenience property that signifies whether a custom LabelFormatFunction function was registered.
public bool HasLabelFormatFunction { get; }
Property Value
SliderWidget.HasMaxChangeListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasMaxChangeListener { get; }
Property Value
SliderWidget.HasMaxClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasMaxClickListener { get; }
Property Value
SliderWidget.HasMinChangeListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasMinChangeListener { get; }
Property Value
SliderWidget.HasMinClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasMinClickListener { get; }
Property Value
SliderWidget.HasSegmentClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasSegmentClickListener { get; }
Property Value
SliderWidget.HasSegmentDragListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasSegmentDragListener { get; }
Property Value
SliderWidget.HasThumbChangeListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasThumbChangeListener { get; }
Property Value
SliderWidget.HasThumbClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasThumbClickListener { get; }
Property Value
SliderWidget.HasThumbCreatedFunction Property
A convenience property that signifies whether a custom ThumbCreatedFunction function was registered.
public bool HasThumbCreatedFunction { get; }
Property Value
SliderWidget.HasThumbDragListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasThumbDragListener { get; }
Property Value
SliderWidget.HasTickClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasTickClickListener { get; }
Property Value
SliderWidget.HasTrackClickListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasTrackClickListener { get; }
Property Value
SliderWidget.InputCreatedFunction Property
A function that provides the developer with access to the input elements when
rangeLabelInputsEnabled and/or labelInputsEnabled are set to true
.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.InputCreatedFunction? InputCreatedFunction { get; set; }
Property Value
InputCreatedFunction(ElementReference, InputCreatedFunctionType, int)
SliderWidget.InputFormatFunction Property
A function used to format user inputs.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.SliderLabelFormatter? InputFormatFunction { get; set; }
Property Value
SliderWidget.InputParseFunction Property
Function used to parse slider inputs formatted by the inputFormatFunction.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.InputParser? InputParseFunction { get; set; }
Property Value
SliderWidget.LabelElements Property
The HTML Element nodes representing labels attached to slider thumbs.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? LabelElements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.LabelFormatFunction Property
A function used to format labels.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.SliderLabelFormatter? LabelFormatFunction { get; set; }
Property Value
SliderWidget.LabelInputsEnabled Property
Indicates whether to enable editing input values via keyboard input when the user clicks a label. This allows the user to move the slider thumb to precise values without sliding the thumbs.
public System.Nullable<bool> LabelInputsEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.Labels Property
An array of strings associated with ‘values’ generated using an internal label formatter or
the values returned from labelFormatFunction.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.LabelInfos? Labels { get; set; }
Property Value
SliderWidget.Layout Property
Determines the layout/orientation of the Slider widget. By default, the slider will render horizontally with the min value on the left side of the track.
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderLayout> Layout { get; set; }
Property Value
SliderWidget.Max Property
The maximum possible data/thumb value of the slider. In the constructor, if one of the values specified in values is greater than the max value specified in this property, then the max will update to the highest value in values.
To display the max value’s label on the slider, set visibleElements.rangeLabels to true. To allow the end user to modify the max value, set rangeLabelInputsEnabled to true.
public System.Nullable<double> Max { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.MaxLabelElement Property
The HTML Element node representing the max value label.
ArcGIS Maps SDK for JavaScript
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> MaxLabelElement { get; set; }
Property Value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.Min Property
The minimum possible data/thumb value of the slider. In the constructor, if one of the values specified in values is less than the min value specified in this property, then the min will update to the lowest value in values.
To display the min value’s label on the slider, set visibleElements.rangeLabels to true. To allow the end user to modify the min value, set rangeLabelInputsEnabled to true.
public System.Nullable<double> Min { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.MinLabelElement Property
The HTML Element node representing the min value label.
ArcGIS Maps SDK for JavaScript
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> MinLabelElement { get; set; }
Property Value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.OnMaxChange Property
Event Listener for MaxChange.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderMaxChangeEvent> OnMaxChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderMaxChangeEvent>
SliderWidget.OnMaxClick Property
Event Listener for MaxClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderMaxClickEvent> OnMaxClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderMaxClickEvent>
SliderWidget.OnMinChange Property
Event Listener for MinChange.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderMinChangeEvent> OnMinChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderMinChangeEvent>
SliderWidget.OnMinClick Property
Event Listener for MinClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderMinClickEvent> OnMinClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderMinClickEvent>
SliderWidget.OnSegmentClick Property
Event Listener for SegmentClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderSegmentClickEvent> OnSegmentClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderSegmentClickEvent>
SliderWidget.OnSegmentDrag Property
Event Listener for SegmentDrag.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderSegmentDragEvent> OnSegmentDrag { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderSegmentDragEvent>
SliderWidget.OnThumbChange Property
Event Listener for ThumbChange.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderThumbChangeEvent> OnThumbChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderThumbChangeEvent>
SliderWidget.OnThumbClick Property
Event Listener for ThumbClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderThumbClickEvent> OnThumbClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderThumbClickEvent>
SliderWidget.OnThumbDrag Property
Event Listener for ThumbDrag.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderThumbDragEvent> OnThumbDrag { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderThumbDragEvent>
SliderWidget.OnTickClick Property
Event Listener for TickClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderTickClickEvent> OnTickClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderTickClickEvent>
SliderWidget.OnTrackClick Property
Event Listener for TrackClick.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.SliderTrackClickEvent> OnTrackClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<SliderTrackClickEvent>
SliderWidget.Precision Property
Defines how slider thumb values should be rounded. This number indicates the number of decimal places slider thumb values should round to when they have been moved.
This value also indicates the precision of thumb labels when the data range is less than 10 (i.e. (max - min) < 10).
When the data range is larger than 10, labels display with a precision of no more than two decimal places, though actual slider thumb values will maintain the precision specified in this property.
public System.Nullable<double> Precision { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.RangeLabelInputsEnabled Property
Indicates whether to enable editing range values via keyboard input when the user clicks a min or max label. This allows the user to increase or decrease the data range of the slider.
public System.Nullable<bool> RangeLabelInputsEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.SegmentElements Property
The HTML Element nodes representing interactive slider segments.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? SegmentElements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.SnapOnClickEnabled Property
Indicates if the closest thumb will snap to the clicked location on the track.
Default Value:true
public System.Nullable<bool> SnapOnClickEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.State Property
The current state of the widget.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderState> State { get; set; }
Property Value
SliderWidget.StepInterval Property
The interval in which slider thumbs can be moved. Use either this or Steps.
public System.Nullable<double> StepInterval { get; set; }
Property Value
System.Nullable<System.Double>
SliderWidget.Steps Property
Sets steps on the slider that restrict user input to specific values. If an array of numbers is passed to this property, the slider thumbs may only be moved to the positions specified in the array. User either this or StepInterval.
public System.Collections.Generic.IReadOnlyList<double>? Steps { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
SliderWidget.SyncedSegmentsEnabled Property
When true, all segments will sync together in updating thumb values when the user drags any segment. This maintains the interval between all thumbs when any segment is dragged. Only applicable when draggableSegmentsEnabled is true.
Default Value:false
public System.Nullable<bool> SyncedSegmentsEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.ThumbCreatedFunction Property
Function that executes each time a thumb is created on the slider.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.ThumbCreatedFunction? ThumbCreatedFunction { get; set; }
Property Value
ThumbCreatedFunction(int, double, ElementReference, ElementReference)
SliderWidget.ThumbElements Property
The HTML Element nodes representing slider thumbs.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? ThumbElements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.ThumbsConstrained Property
When false, the user can freely move any slider thumb to any position along the track. By default, a thumb’s position is constrained to the positions of neighboring thumbs so you cannot move one thumb past another. Set this property to false to disable this constraining behavior.
Default Value:true
public System.Nullable<bool> ThumbsConstrained { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderWidget.TickConfigs Property
When set, renders ticks along the slider track.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.TickConfig>? TickConfigs { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<TickConfig>
SliderWidget.TickElements Property
The HTML Element nodes representing slider ticks and their associated labels.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.TickElementGroup>>? TickElements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<TickElementGroup>>
SliderWidget.TrackElement Property
The HTML Element node representing the slider track.
ArcGIS Maps SDK for JavaScript
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> TrackElement { get; set; }
Property Value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.Type Property
The type of widget
public override dymaptic.GeoBlazor.Core.Enums.WidgetType Type { get; }
Property Value
SliderWidget.ValueChanged Property
Fires when a user changes the selected range or value of the slider.
public Microsoft.AspNetCore.Components.EventCallback<double[]> ValueChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Double[]>
SliderWidget.Values Property
A collection of numbers representing absolute thumb positions on the slider.
public System.Collections.Generic.IReadOnlyList<double>? Values { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
SliderWidget.ViewModel Property
The view model for the Slider widget.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SliderViewModel? ViewModel { get; set; }
Property Value
SliderWidget.VisibleElements Property
The visible elements that are displayed within the widget.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SliderVisibleElements? VisibleElements { get; set; }
Property Value
Methods
SliderWidget.AddToTickConfigs(TickConfig[]) Method
Asynchronously adds elements to the TickConfigs property.
public System.Threading.Tasks.Task AddToTickConfigs(params dymaptic.GeoBlazor.Core.Components.TickConfig[] values);
Parameters
values
TickConfig[]
The elements to add.
Returns
SliderWidget.AddToValues(double[]) Method
Asynchronously adds elements to the Values property.
public System.Threading.Tasks.Task AddToValues(params double[] values);
Parameters
values
System.Double[]
The elements to add.
Returns
SliderWidget.GetDisabled() Method
Asynchronously retrieve the current value of the Disabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDisabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetDoubleCollectionSteps() Method
Asynchronously retrieve the current value of the DoubleCollectionSteps property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetDoubleCollectionSteps();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
SliderWidget.GetDoubleSteps() Method
Asynchronously retrieve the current value of the DoubleSteps property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetDoubleSteps();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetDraggableSegmentsEnabled() Method
Asynchronously retrieve the current value of the DraggableSegmentsEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDraggableSegmentsEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetEffectiveMax() Method
Asynchronously retrieve the current value of the EffectiveMax property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetEffectiveMax();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetEffectiveMin() Method
Asynchronously retrieve the current value of the EffectiveMin property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetEffectiveMin();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetEffectiveSegmentElements() Method
Asynchronously retrieve the current value of the EffectiveSegmentElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>?> GetEffectiveSegmentElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetLabelElements() Method
Asynchronously retrieve the current value of the LabelElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>?> GetLabelElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetLabelInputsEnabled() Method
Asynchronously retrieve the current value of the LabelInputsEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLabelInputsEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetLabels() Method
Asynchronously retrieve the current value of the Labels property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.LabelInfos?> GetLabels();
Returns
System.Threading.Tasks.Task<LabelInfos>
SliderWidget.GetLayout() Method
Asynchronously retrieve the current value of the Layout property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderLayout>> GetLayout();
Returns
System.Threading.Tasks.Task<System.Nullable<SliderLayout>>
SliderWidget.GetMax() Method
Asynchronously retrieve the current value of the Max property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMax();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetMaxLabelElement() Method
Asynchronously retrieve the current value of the MaxLabelElement property.
public System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> GetMaxLabelElement();
Returns
System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetMin() Method
Asynchronously retrieve the current value of the Min property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMin();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetMinLabelElement() Method
Asynchronously retrieve the current value of the MinLabelElement property.
public System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> GetMinLabelElement();
Returns
System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetPrecision() Method
Asynchronously retrieve the current value of the Precision property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetPrecision();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SliderWidget.GetRangeLabelInputsEnabled() Method
Asynchronously retrieve the current value of the RangeLabelInputsEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetRangeLabelInputsEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetSegmentElements() Method
Asynchronously retrieve the current value of the SegmentElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>?> GetSegmentElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetSnapOnClickEnabled() Method
Asynchronously retrieve the current value of the SnapOnClickEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetSnapOnClickEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetState() Method
Asynchronously retrieve the current value of the State property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderState>> GetState();
Returns
System.Threading.Tasks.Task<System.Nullable<SliderState>>
SliderWidget.GetSyncedSegmentsEnabled() Method
Asynchronously retrieve the current value of the SyncedSegmentsEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetSyncedSegmentsEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetThumbElements() Method
Asynchronously retrieve the current value of the ThumbElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>?> GetThumbElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetThumbsConstrained() Method
Asynchronously retrieve the current value of the ThumbsConstrained property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetThumbsConstrained();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SliderWidget.GetTickConfigs() Method
Asynchronously retrieve the current value of the TickConfigs property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.TickConfig>?> GetTickConfigs();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<TickConfig>>
SliderWidget.GetTickElements() Method
Asynchronously retrieve the current value of the TickElements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.TickElementGroup>>?> GetTickElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<TickElementGroup>>>
SliderWidget.GetTrackElement() Method
Asynchronously retrieve the current value of the TrackElement property.
public System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> GetTrackElement();
Returns
System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>
SliderWidget.GetValues() Method
Asynchronously retrieve the current value of the Values property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetValues();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
SliderWidget.GetViewModel() Method
Asynchronously retrieve the current value of the ViewModel property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SliderViewModel?> GetViewModel();
Returns
System.Threading.Tasks.Task<SliderViewModel>
SliderWidget.GetVisibleElements() Method
Asynchronously retrieve the current value of the VisibleElements property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SliderVisibleElements?> GetVisibleElements();
Returns
System.Threading.Tasks.Task<SliderVisibleElements>
SliderWidget.OnJsInputCreatedFunction(ElementReference, InputCreatedFunctionType, int) Method
JS-invokable method that triggers the InputCreatedFunction function.
Should not be called by consuming code.
public System.Threading.Tasks.Task OnJsInputCreatedFunction(Microsoft.AspNetCore.Components.ElementReference inputElement, dymaptic.GeoBlazor.Core.Enums.InputCreatedFunctionType type, int thumbIndex);
Parameters
inputElement
Microsoft.AspNetCore.Components.ElementReference
thumbIndex
System.Int32
Returns
SliderWidget.OnJsMaxChange(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsMaxChange(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsMaxClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsMaxClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsMinChange(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsMinChange(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsMinClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsMinClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsSegmentClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsSegmentClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsSegmentDrag(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsSegmentDrag(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsThumbChange(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsThumbChange(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsThumbClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsThumbClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsThumbCreatedFunction(int, double, ElementReference, ElementReference) Method
JS-invokable method that triggers the ThumbCreatedFunction function.
Should not be called by consuming code.
public System.Threading.Tasks.Task OnJsThumbCreatedFunction(int index, double value, Microsoft.AspNetCore.Components.ElementReference thumbElement, Microsoft.AspNetCore.Components.ElementReference labelElement);
Parameters
index
System.Int32
value
System.Double
thumbElement
Microsoft.AspNetCore.Components.ElementReference
labelElement
Microsoft.AspNetCore.Components.ElementReference
Returns
SliderWidget.OnJsThumbDrag(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsThumbDrag(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsTickClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsTickClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsTrackClick(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsTrackClick(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
SliderWidget.OnJsValueChanged(double[]) Method
JS-invokable method, for internal use only.
public System.Threading.Tasks.Task OnJsValueChanged(double[] newValues);
Parameters
newValues
System.Double[]
Returns
SliderWidget.RemoveFromTickConfigs(TickConfig[]) Method
Asynchronously remove an element from the TickConfigs property.
public System.Threading.Tasks.Task RemoveFromTickConfigs(params dymaptic.GeoBlazor.Core.Components.TickConfig[] values);
Parameters
values
TickConfig[]
The elements to remove.
Returns
SliderWidget.RemoveFromValues(double[]) Method
Asynchronously remove an element from the Values property.
public System.Threading.Tasks.Task RemoveFromValues(params double[] values);
Parameters
values
System.Double[]
The elements to remove.
Returns
SliderWidget.SetDisabled(Nullable) Method
Asynchronously set the value of the Disabled property after render.
public System.Threading.Tasks.Task SetDisabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetDoubleCollectionSteps(IReadOnlyList) Method
Asynchronously set the value of the DoubleCollectionSteps property after render.
public System.Threading.Tasks.Task SetDoubleCollectionSteps(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.
Returns
SliderWidget.SetDoubleSteps(Nullable) Method
Asynchronously set the value of the DoubleSteps property after render.
public System.Threading.Tasks.Task SetDoubleSteps(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetDraggableSegmentsEnabled(Nullable) Method
Asynchronously set the value of the DraggableSegmentsEnabled property after render.
public System.Threading.Tasks.Task SetDraggableSegmentsEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetEffectiveMax(Nullable) Method
Asynchronously set the value of the EffectiveMax property after render.
public System.Threading.Tasks.Task SetEffectiveMax(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetEffectiveMin(Nullable) Method
Asynchronously set the value of the EffectiveMin property after render.
public System.Threading.Tasks.Task SetEffectiveMin(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetLabelInputsEnabled(Nullable) Method
Asynchronously set the value of the LabelInputsEnabled property after render.
public System.Threading.Tasks.Task SetLabelInputsEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetLayout(Nullable) Method
Asynchronously set the value of the Layout property after render.
public System.Threading.Tasks.Task SetLayout(System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderLayout> value);
Parameters
value
System.Nullable<SliderLayout>
The value to set.
Returns
SliderWidget.SetMax(Nullable) Method
Asynchronously set the value of the Max property after render.
public System.Threading.Tasks.Task SetMax(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetMin(Nullable) Method
Asynchronously set the value of the Min property after render.
public System.Threading.Tasks.Task SetMin(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetPrecision(Nullable) Method
Asynchronously set the value of the Precision property after render.
public System.Threading.Tasks.Task SetPrecision(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SliderWidget.SetRangeLabelInputsEnabled(Nullable) Method
Asynchronously set the value of the RangeLabelInputsEnabled property after render.
public System.Threading.Tasks.Task SetRangeLabelInputsEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetSnapOnClickEnabled(Nullable) Method
Asynchronously set the value of the SnapOnClickEnabled property after render.
public System.Threading.Tasks.Task SetSnapOnClickEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetSyncedSegmentsEnabled(Nullable) Method
Asynchronously set the value of the SyncedSegmentsEnabled property after render.
public System.Threading.Tasks.Task SetSyncedSegmentsEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetThumbsConstrained(Nullable) Method
Asynchronously set the value of the ThumbsConstrained property after render.
public System.Threading.Tasks.Task SetThumbsConstrained(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SliderWidget.SetTickConfigs(IReadOnlyList) Method
Asynchronously set the value of the TickConfigs property after render.
public System.Threading.Tasks.Task SetTickConfigs(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.TickConfig>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<TickConfig>
The value to set.
Returns
SliderWidget.SetValues(IReadOnlyList) Method
Asynchronously set the value of the Values property after render.
public System.Threading.Tasks.Task SetValues(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.
Returns
SliderWidget.SetViewModel(SliderViewModel) Method
Asynchronously set the value of the ViewModel property after render.
public System.Threading.Tasks.Task SetViewModel(dymaptic.GeoBlazor.Core.Components.SliderViewModel? value);
Parameters
value
SliderViewModel
The value to set.
Returns
SliderWidget.SetVisibleElements(SliderVisibleElements) Method
Asynchronously set the value of the VisibleElements property after render.
public System.Threading.Tasks.Task SetVisibleElements(dymaptic.GeoBlazor.Core.Components.SliderVisibleElements? value);
Parameters
value
SliderVisibleElements
The value to set.
Returns
SliderWidget.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()