dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
ColorRampStop Class
Describes the schema of the ColorRampStop element.
ArcGIS Maps SDK for JavaScript
public class ColorRampStop : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ColorRampStop
Constructors
ColorRampStop() Constructor
Parameterless constructor for use as a Razor Component.
public ColorRampStop();
ColorRampStop(MapColor, string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public ColorRampStop(dymaptic.GeoBlazor.Core.Model.MapColor? color=null, string? label=null, string? value=null);
Parameters
color
MapColor
The color of the visual variable stop.
ArcGIS Maps SDK for JavaScript
label
System.String
The label in the legend describing features with the given color
and value
.
ArcGIS Maps SDK for JavaScript
value
System.String
The value of the color visual variable stop.
ArcGIS Maps SDK for JavaScript
Properties
ColorRampStop.Color Property
The color of the visual variable stop.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.MapColor? Color { get; set; }
Property Value
ColorRampStop.Label Property
The label in the legend describing features with the given color
and value
.
ArcGIS Maps SDK for JavaScript
public string? Label { get; set; }
Property Value
ColorRampStop.Value Property
The value of the color visual variable stop.
ArcGIS Maps SDK for JavaScript
public string? Value { get; set; }
Property Value
Methods
ColorRampStop.GetColor() Method
Asynchronously retrieve the current value of the Color property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetColor();
Returns
System.Threading.Tasks.Task<MapColor>
ColorRampStop.GetLabel() Method
Asynchronously retrieve the current value of the Label property.
public System.Threading.Tasks.Task<string?> GetLabel();
Returns
System.Threading.Tasks.Task<System.String>
ColorRampStop.GetValue() Method
Asynchronously retrieve the current value of the Value property.
public System.Threading.Tasks.Task<string?> GetValue();
Returns
System.Threading.Tasks.Task<System.String>
ColorRampStop.SetColor(MapColor) Method
Asynchronously set the value of the Color property after render.
public System.Threading.Tasks.Task SetColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);
Parameters
value
MapColor
The value to set.
Returns
ColorRampStop.SetLabel(string) Method
Asynchronously set the value of the Label property after render.
public System.Threading.Tasks.Task SetLabel(string? value);
Parameters
value
System.String
The value to set.
Returns
ColorRampStop.SetValue(string) Method
Asynchronously set the value of the Value property after render.
public System.Threading.Tasks.Task SetValue(string? value);
Parameters
value
System.String
The value to set.