GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
Conversion Class
The Conversion class represents one of the conversions
in the Coordinate Conversion widget.
ArcGIS Maps SDK for JavaScript
public class Conversion : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 Conversion
Constructors
Conversion() Constructor
Parameterless constructor for use as a Razor Component.
public Conversion();
Conversion(ConversionFormat, ConversionPosition) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public Conversion(dymaptic.GeoBlazor.Pro.Components.ConversionFormat? format=null, dymaptic.GeoBlazor.Pro.Components.ConversionPosition? position=null);
Parameters
format
ConversionFormat
The Format for this conversion.
ArcGIS Maps SDK for JavaScript
position
ConversionPosition
The position property contains the location information for this conversion.
ArcGIS Maps SDK for JavaScript
Properties
Conversion.DisplayCoordinate Property
A formatted string based on the current position and display information on the format.
ArcGIS Maps SDK for JavaScript
public string? DisplayCoordinate { get; set; }
Property Value
Conversion.Format Property
The Format for this conversion.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Components.ConversionFormat? Format { get; set; }
Property Value
Conversion.Position Property
The position property contains the location information for this conversion.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Components.ConversionPosition? Position { get; set; }
Property Value
Methods
Conversion.GetDisplayCoordinate() Method
Asynchronously retrieve the current value of the DisplayCoordinate property.
public System.Threading.Tasks.Task<string?> GetDisplayCoordinate();
Returns
System.Threading.Tasks.Task<System.String>
Conversion.GetFormat() Method
Asynchronously retrieve the current value of the Format property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.ConversionFormat?> GetFormat();
Returns
System.Threading.Tasks.Task<ConversionFormat>
Conversion.GetPosition() Method
Asynchronously retrieve the current value of the Position property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.ConversionPosition?> GetPosition();
Returns
System.Threading.Tasks.Task<ConversionPosition>
Conversion.SetFormat(ConversionFormat) Method
Asynchronously set the value of the Format property after render.
public System.Threading.Tasks.Task SetFormat(dymaptic.GeoBlazor.Pro.Components.ConversionFormat? value);
Parameters
value
ConversionFormat
The value to set.
Returns
Conversion.SetPosition(ConversionPosition) Method
Asynchronously set the value of the Position property after render.
public System.Threading.Tasks.Task SetPosition(dymaptic.GeoBlazor.Pro.Components.ConversionPosition? value);
Parameters
value
ConversionPosition
The value to set.
Returns
Conversion.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()