layout: default title: SliderVisibleElements parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
SliderVisibleElements Class
The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget’s display on/off. Alternatively, developers may also use CSS (e.g. display: none) to show/hide elements, such as labels.
ArcGIS Maps SDK for JavaScript
public class SliderVisibleElements : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SliderVisibleElements
Constructors
SliderVisibleElements() Constructor
Parameterless constructor for use as a Razor component.
public SliderVisibleElements();
SliderVisibleElements(Nullable, Nullable) Constructor
Constructor with parameters for use in C# code.
public SliderVisibleElements(System.Nullable<bool> labels=null, System.Nullable<bool> rangeLabels=null);
Parameters
labels
System.Nullable<System.Boolean>
Indicates whether to display labels for slider thumbs. By default, labels display input thumb values as floating point values with a precision of two digits. The format of labels can be customized via the labelFormatFunction.
rangeLabels
System.Nullable<System.Boolean>
Indicates whether to display min or max range values on the slider. The format of labels can be customized via the labelFormatFunction.
Properties
SliderVisibleElements.Labels Property
Indicates whether to display labels for slider thumbs. By default, labels display input thumb values as floating point values with a precision of two digits. The format of labels can be customized via the labelFormatFunction.
Default value: false
public System.Nullable<bool> Labels { get; set; }
Property Value
System.Nullable<System.Boolean>
SliderVisibleElements.RangeLabels Property
Indicates whether to display min or max range values on the slider. The format of labels can be customized via the labelFormatFunction.
Default value: false
public System.Nullable<bool> RangeLabels { get; set; }