GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

FeatureFormWidget Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html”>GeoBlazor Docs</a> The FeatureForm widget displays attributes of a feature. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html”>ArcGIS Maps SDK for JavaScript</a>

public class FeatureFormWidget : dymaptic.GeoBlazor.Pro.Components.Widgets.ProWidget

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 dymaptic.GeoBlazor.Core.Components.Widgets.Widget 🡒 ProWidget 🡒 FeatureFormWidget

Constructors

FeatureFormWidget() Constructor

Parameterless constructor for use as a Razor Component.

public FeatureFormWidget();

FeatureFormWidget(string, Nullable<bool>, Graphic, FormTemplate, Nullable<GroupDisplay>, Nullable<int>, string, string, Layer, MapView, Nullable<OverlayPosition>, string, FeatureFormViewModel, Nullable<bool>, string) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public FeatureFormWidget(string? containerId=null, System.Nullable<bool> disabled=null, dymaptic.GeoBlazor.Core.Components.Graphic? feature=null, dymaptic.GeoBlazor.Pro.Components.FormTemplate? formTemplate=null, System.Nullable<dymaptic.GeoBlazor.Pro.Enums.GroupDisplay> groupDisplay=null, System.Nullable<int> headingLevel=null, string? icon=null, string? label=null, dymaptic.GeoBlazor.Core.Components.Layers.Layer? layer=null, dymaptic.GeoBlazor.Core.Components.Views.MapView? mapView=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.OverlayPosition> position=null, string? timeZone=null, dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel? viewModel=null, System.Nullable<bool> visible=null, string? widgetId=null);

Parameters

containerId System.String

The id of an external HTML Element (div). If provided, the widget will be placed inside that element, instead of on the map.

disabled System.Nullable<System.Boolean>

When `true`, sets the widget to a disabled state so the user cannot interact with it. default false <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#disabled”>ArcGIS Maps SDK for JavaScript</a>

feature dymaptic.GeoBlazor.Core.Components.Graphic

The associated feature containing the editable attributes. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#feature”>ArcGIS Maps SDK for JavaScript</a>

formTemplate FormTemplate

The associated <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html”>template</a> used for the form. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#formTemplate”>ArcGIS Maps SDK for JavaScript</a>

groupDisplay System.Nullable<GroupDisplay>

Defines how groups will be displayed to the user. default “all” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#groupDisplay”>ArcGIS Maps SDK for JavaScript</a>

headingLevel System.Nullable<System.Int32>

Indicates the heading level to use for the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#title”>title</a> of the form. default 2 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#headingLevel”>ArcGIS Maps SDK for JavaScript</a>

icon System.String

Icon displayed in the widget’s button. default “form-field” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#icon”>ArcGIS Maps SDK for JavaScript</a>

label System.String

The widget’s default label. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#label”>ArcGIS Maps SDK for JavaScript</a>

layer dymaptic.GeoBlazor.Core.Components.Layers.Layer

Layer containing the editable feature attributes. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#layer”>ArcGIS Maps SDK for JavaScript</a>

mapView dymaptic.GeoBlazor.Core.Components.Views.MapView

If the Widget is defined outside of the MapView, this link is required to connect them together.

position System.Nullable<dymaptic.GeoBlazor.Core.Enums.OverlayPosition>

The position of the widget in relation to the map view.

timeZone System.String

The timezone displayed within the form. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#timeZone”>ArcGIS Maps SDK for JavaScript</a>

viewModel FeatureFormViewModel

The view model for this widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#viewModel”>ArcGIS Maps SDK for JavaScript</a>

visible System.Nullable<System.Boolean>

Indicates whether the widget is visible. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#visible”>ArcGIS Maps SDK for JavaScript</a>

widgetId System.String

The unique ID assigned to the widget when the widget is created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#id”>ArcGIS Maps SDK for JavaScript</a>

Properties

FeatureFormWidget.Disabled Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetdisabled-property”>GeoBlazor Docs</a> When `true`, sets the widget to a disabled state so the user cannot interact with it. default false <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#disabled”>ArcGIS Maps SDK for JavaScript</a>

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

Property Value

System.Nullable<System.Boolean>

FeatureFormWidget.EventRateLimitInMilliseconds Property

Controls how often the events are fired.

public int EventRateLimitInMilliseconds { get; set; }

Property Value

System.Int32

FeatureFormWidget.Feature Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetfeature-property”>GeoBlazor Docs</a> The associated feature containing the editable attributes. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#feature”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Components.Graphic? Feature { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Graphic

FeatureFormWidget.FormTemplate Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetformtemplate-property”>GeoBlazor Docs</a> The associated <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html”>template</a> used for the form. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#formTemplate”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.FormTemplate? FormTemplate { get; set; }

Property Value

FormTemplate

FeatureFormWidget.GroupDisplay Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetgroupdisplay-property”>GeoBlazor Docs</a> Defines how groups will be displayed to the user. default “all” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#groupDisplay”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<dymaptic.GeoBlazor.Pro.Enums.GroupDisplay> GroupDisplay { get; set; }

Property Value

System.Nullable<GroupDisplay>

FeatureFormWidget.HasSubmitListener Property

Used in JavaScript layer to determine if the event listener is registered.

public bool HasSubmitListener { get; }

Property Value

System.Boolean

FeatureFormWidget.HasValueChangeListener Property

Used in JavaScript layer to determine if the event listener is registered.

public bool HasValueChangeListener { get; }

Property Value

System.Boolean

FeatureFormWidget.HeadingLevel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetheadinglevel-property”>GeoBlazor Docs</a> Indicates the heading level to use for the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#title”>title</a> of the form. default 2 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#headingLevel”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<int> HeadingLevel { get; set; }

Property Value

System.Nullable<System.Int32>

FeatureFormWidget.OnSubmit Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetonsubmit-property”>GeoBlazor Docs</a> Event Listener for Submit.

public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Pro.Events.FeatureFormSubmitEvent> OnSubmit { get; set; }

Property Value

Microsoft.AspNetCore.Components.EventCallback<FeatureFormSubmitEvent>

FeatureFormWidget.OnValueChange Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetonvaluechange-property”>GeoBlazor Docs</a> Event Listener for ValueChange.

public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Pro.Events.FeatureFormValueChangeEvent> OnValueChange { get; set; }

Property Value

Microsoft.AspNetCore.Components.EventCallback<FeatureFormValueChangeEvent>

FeatureFormWidget.TimeZone Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgettimezone-property”>GeoBlazor Docs</a> The timezone displayed within the form. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#timeZone”>ArcGIS Maps SDK for JavaScript</a>

public string? TimeZone { get; set; }

Property Value

System.String

FeatureFormWidget.Type Property

The type of widget

public override dymaptic.GeoBlazor.Core.Enums.WidgetType Type { get; }

Property Value

dymaptic.GeoBlazor.Core.Enums.WidgetType

FeatureFormWidget.ViewModel Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetviewmodel-property”>GeoBlazor Docs</a> The view model for this widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#viewModel”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel? ViewModel { get; set; }

Property Value

FeatureFormViewModel

Methods

FeatureFormWidget.GetDisabled() Method

Asynchronously retrieve the current value of the Disabled property.

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

Returns

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

FeatureFormWidget.GetFeature() Method

Asynchronously retrieve the current value of the Feature property.

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

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic>

FeatureFormWidget.GetFormTemplate() Method

Asynchronously retrieve the current value of the FormTemplate property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.FormTemplate?> GetFormTemplate();

Returns

System.Threading.Tasks.Task<FormTemplate>

FeatureFormWidget.GetGroupDisplay() Method

Asynchronously retrieve the current value of the GroupDisplay property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Pro.Enums.GroupDisplay>> GetGroupDisplay();

Returns

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

FeatureFormWidget.GetHeadingLevel() Method

Asynchronously retrieve the current value of the HeadingLevel property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetHeadingLevel();

Returns

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

FeatureFormWidget.GetLayer() Method

Asynchronously retrieve the current value of the Layer property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> GetLayer();

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer>

FeatureFormWidget.GetTimeZone() Method

Asynchronously retrieve the current value of the TimeZone property.

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

Returns

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

FeatureFormWidget.GetValues() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetgetvalues-method”>GeoBlazor Docs</a> Returns all of the field values, regardless of update status. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#getValues”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.AttributesDictionary?> GetValues();

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.AttributesDictionary>

FeatureFormWidget.GetViewModel() Method

Asynchronously retrieve the current value of the ViewModel property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel?> GetViewModel();

Returns

System.Threading.Tasks.Task<FeatureFormViewModel>

FeatureFormWidget.OnJsSubmit(IJSStreamReference) Method

JavaScript-Invokable Method for internal use only.

public System.Threading.Tasks.Task OnJsSubmit(Microsoft.JSInterop.IJSStreamReference jsStreamRef);

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Returns

System.Threading.Tasks.Task

FeatureFormWidget.OnJsValueChange(IJSStreamReference) Method

JavaScript-Invokable Method for internal use only.

public System.Threading.Tasks.Task OnJsValueChange(Microsoft.JSInterop.IJSStreamReference jsStreamRef);

Parameters

jsStreamRef Microsoft.JSInterop.IJSStreamReference

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetDisabled(Nullable<bool>) Method

Asynchronously set the value of the Disabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetFeature(Graphic) Method

Asynchronously set the value of the Feature property after render.

public System.Threading.Tasks.Task SetFeature(dymaptic.GeoBlazor.Core.Components.Graphic? value);

Parameters

value dymaptic.GeoBlazor.Core.Components.Graphic

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetFormTemplate(FormTemplate) Method

Asynchronously set the value of the FormTemplate property after render.

public System.Threading.Tasks.Task SetFormTemplate(dymaptic.GeoBlazor.Pro.Components.FormTemplate? value);

Parameters

value FormTemplate

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetGroupDisplay(Nullable<GroupDisplay>) Method

Asynchronously set the value of the GroupDisplay property after render.

public System.Threading.Tasks.Task SetGroupDisplay(System.Nullable<dymaptic.GeoBlazor.Pro.Enums.GroupDisplay> value);

Parameters

value System.Nullable<GroupDisplay>

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetHeadingLevel(Nullable<int>) Method

Asynchronously set the value of the HeadingLevel property after render.

public System.Threading.Tasks.Task SetHeadingLevel(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetLayer(Layer) Method

Asynchronously set the value of the Layer property after render.

public System.Threading.Tasks.Task SetLayer(dymaptic.GeoBlazor.Core.Components.Layers.Layer? value);

Parameters

value dymaptic.GeoBlazor.Core.Components.Layers.Layer

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetTimeZone(string) Method

Asynchronously set the value of the TimeZone property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.SetViewModel(FeatureFormViewModel) Method

Asynchronously set the value of the ViewModel property after render.

public System.Threading.Tasks.Task SetViewModel(dymaptic.GeoBlazor.Pro.Components.FeatureFormViewModel? value);

Parameters

value FeatureFormViewModel

The value to set.

Returns

System.Threading.Tasks.Task

FeatureFormWidget.Submit() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureFormWidget.html#featureformwidgetsubmit-method”>GeoBlazor Docs</a> Fires the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#event-submit”>submit</a> event. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#submit”>ArcGIS Maps SDK for JavaScript</a>

public System.Threading.Tasks.Task Submit();

Returns

System.Threading.Tasks.Task

FeatureFormWidget.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()