dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
SliderWidget Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html”>GeoBlazor Docs</a> A slider widget that can be used for filtering data, or gathering numeric input from a user. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html”>ArcGIS Maps SDK for JavaScript</a>
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<bool>, Nullable<bool>, Nullable<double>, Nullable<double>, string, Nullable<bool>, Nullable<SliderLayout>, Nullable<double>, Nullable<double>, Nullable<double>, Nullable<bool>, Nullable<bool>, double[], Nullable<bool>, Nullable<bool>, IReadOnlyList<double>, InputCreatedFunction, SliderLabelFormatter, InputParser, SliderLabelFormatter, ThumbCreatedFunction, IReadOnlyList<TickConfig>, Nullable<bool>, SliderVisibleElements, IReadOnlyList<double>, Nullable<double>, string, MapView, Nullable<OverlayPosition>, 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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#disabled”>ArcGIS Maps SDK for JavaScript</a>
draggableSegmentsEnabled
System.Nullable<System.Boolean>
Indicates if the user can drag the segment between thumbs to update thumb positions. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#draggableSegmentsEnabled”>ArcGIS Maps SDK for JavaScript</a>
effectiveMax
System.Nullable<System.Double>
When set, the user is restricted from moving slider thumbs to positions higher than this value. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#effectiveMax”>ArcGIS Maps SDK for JavaScript</a>
effectiveMin
System.Nullable<System.Double>
When set, the user is restricted from moving slider thumbs to positions less than this value. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#effectiveMin”>ArcGIS Maps SDK for JavaScript</a>
label
System.String
The widget’s default label. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#label”>ArcGIS Maps SDK for JavaScript</a>
labelInputsEnabled
System.Nullable<System.Boolean>
Indicates whether to enable editing input values via keyboard input when the user clicks a label. default false <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelInputsEnabled”>ArcGIS Maps SDK for JavaScript</a>
layout
System.Nullable<SliderLayout>
Determines the layout/orientation of the Slider widget. default “horizontal” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#layout”>ArcGIS Maps SDK for JavaScript</a>
max
System.Nullable<System.Double>
The maximum possible data/thumb value of the slider. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#max”>ArcGIS Maps SDK for JavaScript</a>
min
System.Nullable<System.Double>
The minimum possible data/thumb value of the slider. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#min”>ArcGIS Maps SDK for JavaScript</a>
precision
System.Nullable<System.Double>
Defines how slider thumb values should be rounded. default 4 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#precision”>ArcGIS Maps SDK for JavaScript</a>
rangeLabelInputsEnabled
System.Nullable<System.Boolean>
Indicates whether to enable editing range values via keyboard input when the user clicks a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#min”>min</a> or <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#max”>max</a> label. default false <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#rangeLabelInputsEnabled”>ArcGIS Maps SDK for JavaScript</a>
snapOnClickEnabled
System.Nullable<System.Boolean>
Indicates if the closest thumb will snap to the clicked location on the track. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#snapOnClickEnabled”>ArcGIS Maps SDK for JavaScript</a>
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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#syncedSegmentsEnabled”>ArcGIS Maps SDK for JavaScript</a>
thumbsConstrained
System.Nullable<System.Boolean>
When `false`, the user can freely move any slider thumb to any position along the track. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#thumbsConstrained”>ArcGIS Maps SDK for JavaScript</a>
values
System.Collections.Generic.IReadOnlyList<System.Double>
An array of numbers representing absolute thumb positions on the slider. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#values”>ArcGIS Maps SDK for JavaScript</a>
inputCreatedFunction
InputCreatedFunction(ElementReference, InputCreatedFunctionType, int)
A function that provides the developer with access to the input elements when <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#rangeLabelInputsEnabled”>rangeLabelInputsEnabled</a> and/or <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelInputsEnabled”>labelInputsEnabled</a> are set to `true`. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputCreatedFunction”>ArcGIS Maps SDK for JavaScript</a>
inputFormatFunction
SliderLabelFormatter
A function used to format user inputs. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputFormatFunction”>ArcGIS Maps SDK for JavaScript</a>
inputParseFunction
InputParser
Function used to parse slider inputs formatted by the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputFormatFunction”>inputFormatFunction</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputParseFunction”>ArcGIS Maps SDK for JavaScript</a>
labelFormatFunction
SliderLabelFormatter
A function used to format labels. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunction”>ArcGIS Maps SDK for JavaScript</a>
thumbCreatedFunction
ThumbCreatedFunction(int, double, ElementReference, ElementReference)
Function that executes each time a thumb is created on the slider. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#thumbCreatedFunction”>ArcGIS Maps SDK for JavaScript</a>
tickConfigs
System.Collections.Generic.IReadOnlyList<TickConfig>
When set, renders ticks along the slider track. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#tickConfigs”>ArcGIS Maps SDK for JavaScript</a>
visible
System.Nullable<System.Boolean>
Indicates whether the widget is visible. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#visible”>ArcGIS Maps SDK for JavaScript</a>
visibleElements
SliderVisibleElements
The visible elements that are displayed within the widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#visibleElements”>ArcGIS Maps SDK for JavaScript</a>
doubleCollectionSteps
System.Collections.Generic.IReadOnlyList<System.Double>
Sets steps, or intervals, on the slider that restrict user input to specific values. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#steps”>ArcGIS Maps SDK for JavaScript</a>
doubleSteps
System.Nullable<System.Double>
Sets steps, or intervals, on the slider that restrict user input to specific values. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#steps”>ArcGIS Maps SDK for JavaScript</a>
icon
System.String
Icon displayed in the widget’s button. default “caret-double-horizontal” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#icon”>ArcGIS Maps SDK for JavaScript</a>
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. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#viewModel”>ArcGIS Maps SDK for JavaScript</a>
widgetId
System.String
The unique ID assigned to the widget when the widget is created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#id”>ArcGIS Maps SDK for JavaScript</a>
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetdoublecollectionsteps-property”>GeoBlazor Docs</a> Sets steps, or intervals, on the slider that restrict user input to specific values. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#steps”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<double>? DoubleCollectionSteps { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
SliderWidget.DoubleSteps Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetdoublesteps-property”>GeoBlazor Docs</a> Sets steps, or intervals, on the slider that restrict user input to specific values. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#steps”>ArcGIS Maps SDK for JavaScript</a>
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgeteffectivesegmentelements-property”>GeoBlazor Docs</a> The HTML Element nodes representing the slider segment between the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#min”>min</a> and <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#effectiveMin”>effectiveMin</a>, and the segment between the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#effectiveMax”>effectiveMax</a> and <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#max”>max</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#effectiveSegmentElements”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? EffectiveSegmentElements { get; }
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 target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetinputcreatedfunction-property”>GeoBlazor Docs</a> A function that provides the developer with access to the input elements when <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#rangeLabelInputsEnabled”>rangeLabelInputsEnabled</a> and/or <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelInputsEnabled”>labelInputsEnabled</a> are set to `true`. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputCreatedFunction”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Functions.InputCreatedFunction? InputCreatedFunction { get; set; }
Property Value
InputCreatedFunction(ElementReference, InputCreatedFunctionType, int)
SliderWidget.InputFormatFunction Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetinputformatfunction-property”>GeoBlazor Docs</a> A function used to format user inputs. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputFormatFunction”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Functions.SliderLabelFormatter? InputFormatFunction { get; set; }
Property Value
SliderWidget.InputParseFunction Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetinputparsefunction-property”>GeoBlazor Docs</a> Function used to parse slider inputs formatted by the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputFormatFunction”>inputFormatFunction</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#inputParseFunction”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Functions.InputParser? InputParseFunction { get; set; }
Property Value
SliderWidget.LabelElements Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetlabelelements-property”>GeoBlazor Docs</a> The HTML Element nodes representing <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labels”>labels</a> attached to slider thumbs. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelElements”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? LabelElements { get; }
Property Value
System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.LabelFormatFunction Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetlabelformatfunction-property”>GeoBlazor Docs</a> A function used to format labels. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunction”>ArcGIS Maps SDK for JavaScript</a>
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetlabels-property”>GeoBlazor Docs</a> An array of strings associated with ‘values’ generated using an internal label formatter or the values returned from <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labelFormatFunction”>labelFormatFunction</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#labels”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Model.LabelInfos? Labels { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetmaxlabelelement-property”>GeoBlazor Docs</a> The HTML Element node representing the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#max”>max</a> value label. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#maxLabelElement”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> MaxLabelElement { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetminlabelelement-property”>GeoBlazor Docs</a> The HTML Element node representing the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#min”>min</a> value label. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#minLabelElement”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> MinLabelElement { get; }
Property Value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
SliderWidget.OnMaxChange Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonmaxchange-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonmaxclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonminchange-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonminclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonsegmentclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonsegmentdrag-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonthumbchange-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonthumbclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetonthumbdrag-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetontickclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetontrackclick-property”>GeoBlazor Docs</a> 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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetsegmentelements-property”>GeoBlazor Docs</a> The HTML Element nodes representing interactive slider segments. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#segmentElements”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? SegmentElements { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetstate-property”>GeoBlazor Docs</a> The current state of the widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#state”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SliderState> State { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetthumbcreatedfunction-property”>GeoBlazor Docs</a> Function that executes each time a thumb is created on the slider. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#thumbCreatedFunction”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Functions.ThumbCreatedFunction? ThumbCreatedFunction { get; set; }
Property Value
ThumbCreatedFunction(int, double, ElementReference, ElementReference)
SliderWidget.ThumbElements Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetthumbelements-property”>GeoBlazor Docs</a> The HTML Element nodes representing slider thumbs. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#thumbElements”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ElementReference>? ThumbElements { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgettickconfigs-property”>GeoBlazor Docs</a> When set, renders ticks along the slider track. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#tickConfigs”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.TickConfig>? TickConfigs { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<TickConfig>
SliderWidget.TickElements Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgettickelements-property”>GeoBlazor Docs</a> The HTML Element nodes representing slider ticks and their associated labels. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#tickElements”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.TickElementGroup>>? TickElements { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<TickElementGroup>>
SliderWidget.TrackElement Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgettrackelement-property”>GeoBlazor Docs</a> The HTML Element node representing the slider track. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#trackElement”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> TrackElement { get; }
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetviewmodel-property”>GeoBlazor Docs</a> The view model for the Slider widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#viewModel”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.SliderViewModel? ViewModel { get; set; }
Property Value
SliderWidget.VisibleElements Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Widgets.SliderWidget.html#sliderwidgetvisibleelements-property”>GeoBlazor Docs</a> The visible elements that are displayed within the widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#visibleElements”>ArcGIS Maps SDK for JavaScript</a>
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<bool>) 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<double>) 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<double>) 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<bool>) 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<double>) 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<double>) 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<bool>) 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<SliderLayout>) 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<double>) 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<double>) 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<double>) 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<bool>) 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<bool>) 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<bool>) 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<bool>) 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<TickConfig>) 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<double>) 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()