dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

FieldInfo Class

The FieldInfo class defines how a Field participates,
or in some cases, does not participate, in a PopupTemplate.
ArcGIS Maps SDK for JavaScript

public class FieldInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 FieldInfo

Constructors

FieldInfo() Constructor

Parameterless constructor for use as a Razor Component.

public FieldInfo();

FieldInfo(string, string, string, Nullable, 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 FieldInfo(string? fieldName=null, string? label=null, string? tooltip=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.StringFieldOption> stringFieldOption=null, dymaptic.GeoBlazor.Core.Components.FieldInfoFormat? format=null, System.Nullable<bool> isEditable=null, System.Nullable<bool> visible=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.StatisticType> statisticType=null);

Parameters

fieldName System.String

The field name as defined by the service or the name of
an Arcade
expression.
ArcGIS Maps SDK for JavaScript

label System.String

A string containing the field alias.
ArcGIS Maps SDK for JavaScript

tooltip System.String

A string providing an editing hint for editors of the field.
ArcGIS Maps SDK for JavaScript

stringFieldOption System.Nullable<StringFieldOption>

A string determining what type of input box editors see
when editing the field.
default “text-box”
ArcGIS Maps SDK for JavaScript

format FieldInfoFormat

Class which provides formatting options for numerical or date fields and how they should display within
a popup.
ArcGIS Maps SDK for JavaScript

isEditable System.Nullable<System.Boolean>

A Boolean determining whether users can edit this field.
default true
ArcGIS Maps SDK for JavaScript

visible System.Nullable<System.Boolean>

Indicates whether the field is visible in the popup window.
default true
ArcGIS Maps SDK for JavaScript

statisticType System.Nullable<StatisticType>

Used in a one:many or many:many relationship to compute the statistics
on the field to show in the popup.
ArcGIS Maps SDK for JavaScript

Properties

FieldInfo.FieldName Property

The field name as defined by the service or the name of an Arcade expression.

public string? FieldName { get; set; }

Property Value

System.String

FieldInfo.Format Property

Class which provides formatting options for numerical or date fields and how they should display within
a popup.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.FieldInfoFormat? Format { get; set; }

Property Value

FieldInfoFormat

FieldInfo.IsEditable Property

A Boolean determining whether users can edit this field.

public System.Nullable<bool> IsEditable { get; set; }

Property Value

System.Nullable<System.Boolean>

FieldInfo.Label Property

The field name as defined by the service or the name of an Arcade expression.

public string? Label { get; set; }

Property Value

System.String

FieldInfo.StatisticType Property

Used in a one:many or many:many relationship to compute the statistics
on the field to show in the popup.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.StatisticType> StatisticType { get; set; }

Property Value

System.Nullable<StatisticType>

FieldInfo.StringFieldOption Property

A string determining what type of input box editors see when editing the field.

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.StringFieldOption> StringFieldOption { get; set; }

Property Value

System.Nullable<StringFieldOption>

FieldInfo.Tooltip Property

A string providing an editing hint for editors of the field.

public string? Tooltip { get; set; }

Property Value

System.String

Methods

FieldInfo.GetFieldName() Method

Asynchronously retrieve the current value of the FieldName property.

public System.Threading.Tasks.Task<string?> GetFieldName();

Returns

System.Threading.Tasks.Task<System.String>

FieldInfo.GetFormat() Method

Asynchronously retrieve the current value of the Format property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.FieldInfoFormat?> GetFormat();

Returns

System.Threading.Tasks.Task<FieldInfoFormat>

FieldInfo.GetIsEditable() Method

Asynchronously retrieve the current value of the IsEditable property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetIsEditable();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

FieldInfo.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>

FieldInfo.GetStatisticType() Method

Asynchronously retrieve the current value of the StatisticType property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.StatisticType>> GetStatisticType();

Returns

System.Threading.Tasks.Task<System.Nullable<StatisticType>>

FieldInfo.GetStringFieldOption() Method

Asynchronously retrieve the current value of the StringFieldOption property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.StringFieldOption>> GetStringFieldOption();

Returns

System.Threading.Tasks.Task<System.Nullable<StringFieldOption>>

FieldInfo.GetTooltip() Method

Asynchronously retrieve the current value of the Tooltip property.

public System.Threading.Tasks.Task<string?> GetTooltip();

Returns

System.Threading.Tasks.Task<System.String>

FieldInfo.SetFieldName(string) Method

Asynchronously set the value of the FieldName property after render.

public System.Threading.Tasks.Task SetFieldName(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.SetFormat(FieldInfoFormat) Method

Asynchronously set the value of the Format property after render.

public System.Threading.Tasks.Task SetFormat(dymaptic.GeoBlazor.Core.Components.FieldInfoFormat? value);

Parameters

value FieldInfoFormat

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.SetIsEditable(Nullable) Method

Asynchronously set the value of the IsEditable property after render.

public System.Threading.Tasks.Task SetIsEditable(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.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

System.Threading.Tasks.Task

FieldInfo.SetStatisticType(Nullable) Method

Asynchronously set the value of the StatisticType property after render.

public System.Threading.Tasks.Task SetStatisticType(System.Nullable<dymaptic.GeoBlazor.Core.Enums.StatisticType> value);

Parameters

value System.Nullable<StatisticType>

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.SetStringFieldOption(Nullable) Method

Asynchronously set the value of the StringFieldOption property after render.

public System.Threading.Tasks.Task SetStringFieldOption(System.Nullable<dymaptic.GeoBlazor.Core.Enums.StringFieldOption> value);

Parameters

value System.Nullable<StringFieldOption>

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.SetTooltip(string) Method

Asynchronously set the value of the Tooltip property after render.

public System.Threading.Tasks.Task SetTooltip(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FieldInfo.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()