dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
StopsByDates Class
Specifies an array of dates for the time slider widget. ArcGIS Maps SDK for JavaScript
public class StopsByDates : dymaptic.GeoBlazor.Pro.Components.TimeSliderStops
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 TimeSliderStops 🡒 StopsByDates
Constructors
StopsByDates() Constructor
Parameterless constructor for use as a Razor Component.
public StopsByDates();
StopsByDates(IReadOnlyList) Constructor
Parameterized constructor for use in code.
public StopsByDates(System.Collections.Generic.IReadOnlyList<System.DateTime> dates);
Parameters
dates System.Collections.Generic.IReadOnlyList<System.DateTime>
Array of dates. ArcGIS Maps SDK for JavaScript
Properties
StopsByDates.Dates Property
Array of dates.
public System.Collections.Generic.IReadOnlyList<System.DateTime>? Dates { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.DateTime>
StopsByDates.Type Property
A non-ESRI property to determine the type of stops to help with the serialization.
public override dymaptic.GeoBlazor.Pro.Enums.TimeSliderStopsType Type { get; }
Property Value
Methods
StopsByDates.AddToDates(DateTime[]) Method
Asynchronously adds elements to the Dates property.
public System.Threading.Tasks.Task AddToDates(params System.DateTime[] values);
Parameters
values System.DateTime[]
The elements to add.
Returns
StopsByDates.GetDates() Method
Asynchronously retrieve the current value of the Dates property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.DateTime>?> GetDates();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.DateTime>>
StopsByDates.RemoveFromDates(DateTime[]) Method
Asynchronously remove an element from the Dates property.
public System.Threading.Tasks.Task RemoveFromDates(params System.DateTime[] values);
Parameters
values System.DateTime[]
The elements to remove.
Returns
StopsByDates.SetDates(IReadOnlyList) Method
Asynchronously set the value of the Dates property after render.
public System.Threading.Tasks.Task SetDates(System.Collections.Generic.IReadOnlyList<System.DateTime>? value);
Parameters
value System.Collections.Generic.IReadOnlyList<System.DateTime>
The value to set.