dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
FieldInfoFormat Class
The FieldInfoFormat
class is used with numerical or date fields to provide more detail
about how the value should be displayed in a popup.
ArcGIS Maps SDK for JavaScript
public class FieldInfoFormat : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 FieldInfoFormat
Constructors
FieldInfoFormat() Constructor
Parameterless constructor for use as a Razor Component.
public FieldInfoFormat();
FieldInfoFormat(Nullable, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public FieldInfoFormat(System.Nullable<int> places=null, System.Nullable<bool> digitSeparator=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.DateFormat> dateFormat=null);
Parameters
places
System.Nullable<System.Int32>
Used only with Number
fields to specify the number of supported decimal places
that should appear in popups.
ArcGIS Maps SDK for JavaScript
digitSeparator
System.Nullable<System.Boolean>
Used only with Number
fields.
default false
ArcGIS Maps SDK for JavaScript
dateFormat
System.Nullable<DateFormat>
Used only with Date
fields.
ArcGIS Maps SDK for JavaScript
Properties
FieldInfoFormat.DateFormat Property
Used only with Date fields.
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DateFormat> DateFormat { get; set; }
Property Value
FieldInfoFormat.DigitSeparator Property
Used only with Number fields.
public System.Nullable<bool> DigitSeparator { get; set; }
Property Value
System.Nullable<System.Boolean>
FieldInfoFormat.Places Property
Used only with Number fields to specify the number of supported decimal places that should appear in popups.
public System.Nullable<int> Places { get; set; }
Property Value
Methods
FieldInfoFormat.GetDateFormat() Method
Asynchronously retrieve the current value of the DateFormat property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.DateFormat>> GetDateFormat();
Returns
System.Threading.Tasks.Task<System.Nullable<DateFormat>>
FieldInfoFormat.GetDigitSeparator() Method
Asynchronously retrieve the current value of the DigitSeparator property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDigitSeparator();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
FieldInfoFormat.GetPlaces() Method
Asynchronously retrieve the current value of the Places property.
public System.Threading.Tasks.Task<System.Nullable<int>> GetPlaces();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
FieldInfoFormat.SetDateFormat(Nullable) Method
Asynchronously set the value of the DateFormat property after render.
public System.Threading.Tasks.Task SetDateFormat(System.Nullable<dymaptic.GeoBlazor.Core.Enums.DateFormat> value);
Parameters
value
System.Nullable<DateFormat>
The value to set.
Returns
FieldInfoFormat.SetDigitSeparator(Nullable) Method
Asynchronously set the value of the DigitSeparator property after render.
public System.Threading.Tasks.Task SetDigitSeparator(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
FieldInfoFormat.SetPlaces(Nullable) Method
Asynchronously set the value of the Places property after render.
public System.Threading.Tasks.Task SetPlaces(System.Nullable<int> value);
Parameters
value
System.Nullable<System.Int32>
The value to set.