layout: default title: FieldInfoFormat parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

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. Use this class in place of the legacy formatting functions: DateString, DateFormat, and/or
NumberFormat.
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 using as a razor component

public FieldInfoFormat();

FieldInfoFormat(Nullable, Nullable, string) Constructor

Constructor for creating a new FieldInfoFormat in code with parameters

public FieldInfoFormat(System.Nullable<int> places=null, System.Nullable<bool> digitSeparator=null, string? 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.

digitSeparator System.Nullable<System.Boolean>

Used only with Number fields.

dateFormat System.String

Used only with Date fields.

Properties

FieldInfoFormat.DateFormat Property

Used only with Date fields.

public string? DateFormat { get; set; }

Property Value

System.String

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

System.Nullable<System.Int32>