dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
Theme Class
This class is used by the View to define the base colors used by widgets and components
to render temporary graphics and labels.
ArcGIS Maps SDK for JavaScript
public class Theme : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Theme
Constructors
Theme() Constructor
Parameterless constructor for use as a Razor Component.
public Theme();
Theme(MapColor, MapColor) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public Theme(dymaptic.GeoBlazor.Core.Model.MapColor? accentColor=null, dymaptic.GeoBlazor.Core.Model.MapColor? textColor=null);
Parameters
accentColor
MapColor
The base color used to render temporary graphics in the View.
ArcGIS Maps SDK for JavaScript
textColor
MapColor
The base color used to render temporary labels in the View.
ArcGIS Maps SDK for JavaScript
Properties
Theme.AccentColor Property
The base color used to render temporary graphics in the View.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.MapColor? AccentColor { get; set; }
Property Value
Theme.TextColor Property
The base color used to render temporary labels in the View.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.MapColor? TextColor { get; set; }
Property Value
Methods
Theme.GetAccentColor() Method
Asynchronously retrieve the current value of the AccentColor property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetAccentColor();
Returns
System.Threading.Tasks.Task<MapColor>
Theme.GetTextColor() Method
Asynchronously retrieve the current value of the TextColor property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetTextColor();
Returns
System.Threading.Tasks.Task<MapColor>
Theme.SetAccentColor(MapColor) Method
Asynchronously set the value of the AccentColor property after render.
public System.Threading.Tasks.Task SetAccentColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);
Parameters
value
MapColor
The value to set.
Returns
Theme.SetTextColor(MapColor) Method
Asynchronously set the value of the TextColor property after render.
public System.Threading.Tasks.Task SetTextColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);
Parameters
value
MapColor
The value to set.