GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

EditorLayerInfo Class

Configurations used for setting the layer’s editable preferences within the Editor.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 EditorLayerInfo

Constructors

EditorLayerInfo() Constructor

Parameterless constructor for use as a Razor Component.

public EditorLayerInfo();

EditorLayerInfo(Guid, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, FormTemplate, Layer) Constructor

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

public EditorLayerInfo(System.Guid layerId, System.Nullable<bool> enabled=null, System.Nullable<bool> addEnabled=null, System.Nullable<bool> updateEnabled=null, System.Nullable<bool> deleteEnabled=null, System.Nullable<bool> attributeUpdatesEnabled=null, System.Nullable<bool> attachmentsOnCreateEnabled=null, System.Nullable<bool> attachmentsOnUpdateEnabled=null, System.Nullable<bool> geometryUpdatesEnabled=null, dymaptic.GeoBlazor.Pro.Components.FormTemplate? formTemplate=null, dymaptic.GeoBlazor.Core.Components.Layers.Layer? layer=null);

Parameters

layerId System.Guid

The id for the associated GeoBlazor layer containing the fields to edit.

enabled System.Nullable<System.Boolean>

Indicates whether to enable editing on the layer.
ArcGIS Maps SDK for JavaScript

addEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to create new features.
ArcGIS Maps SDK for JavaScript

updateEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to update existing features.
ArcGIS Maps SDK for JavaScript

deleteEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to delete features.
ArcGIS Maps SDK for JavaScript

attributeUpdatesEnabled System.Nullable<System.Boolean>

Indicates whether to enable or disable attribute updates from the feature’s form.
ArcGIS Maps SDK for JavaScript

attachmentsOnCreateEnabled System.Nullable<System.Boolean>

(Since 4.26) Indicates whether to enable or disable attachments while creating features.
ArcGIS Maps SDK for JavaScript

attachmentsOnUpdateEnabled System.Nullable<System.Boolean>

(Since 4.26) Indicates whether to enable or disable attachments while updating existing features.
ArcGIS Maps SDK for JavaScript

geometryUpdatesEnabled System.Nullable<System.Boolean>

Indicates whether to enable or disable geometry updates.
ArcGIS Maps SDK for JavaScript

formTemplate FormTemplate

A template that defines the feature’s form content.
ArcGIS Maps SDK for JavaScript

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

The associated layer containing the fields to edit.
ArcGIS Maps SDK for JavaScript

Properties

EditorLayerInfo.AddEnabled Property

Indicates whether to enable the ability to create new features. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnCreateEnabled Property

Indicates whether to enable or disable attachments while creating features. Support for this is dependent upon the Editor’s allowedWorkflows and whether this operation is supported on the FeatureLayer.capabilities.operations.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnUpdateEnabled Property

Indicates whether to enable or disable attachments while updating existing features. Support for this is dependent upon the Editor’s allowedWorkflows and whether update or delete operations are supported on the FeatureLayer.capabilities.operations.

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

Property Value

System.Nullable<System.Boolean>

Remarks

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name.

EditorLayerInfo.AttributeUpdatesEnabled Property

Indicates whether to enable or disable attribute updates from the feature’s form. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.DeleteEnabled Property

Indicates whether to enable the ability to delete features. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.Enabled Property

Indicates whether to enable editing on the layer. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.FormTemplate Property

A template that defines the feature’s form content.
ArcGIS Maps SDK for JavaScript

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

Property Value

FormTemplate

EditorLayerInfo.GeometryUpdatesEnabled Property

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.UpdateEnabled Property

Indicates whether to enable the ability to update existing features. Default Value: true.

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

Property Value

System.Nullable<System.Boolean>

Methods

EditorLayerInfo.GetAddEnabled() Method

Asynchronously retrieve the current value of the AddEnabled property.

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

Returns

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

EditorLayerInfo.GetAttachmentsOnCreateEnabled() Method

Asynchronously retrieve the current value of the AttachmentsOnCreateEnabled property.

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

Returns

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

EditorLayerInfo.GetAttachmentsOnUpdateEnabled() Method

Asynchronously retrieve the current value of the AttachmentsOnUpdateEnabled property.

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

Returns

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

EditorLayerInfo.GetAttributeUpdatesEnabled() Method

Asynchronously retrieve the current value of the AttributeUpdatesEnabled property.

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

Returns

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

EditorLayerInfo.GetDeleteEnabled() Method

Asynchronously retrieve the current value of the DeleteEnabled property.

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

Returns

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

EditorLayerInfo.GetEnabled() Method

Asynchronously retrieve the current value of the Enabled property.

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

Returns

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

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

EditorLayerInfo.GetGeometryUpdatesEnabled() Method

Asynchronously retrieve the current value of the GeometryUpdatesEnabled property.

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

Returns

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

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

EditorLayerInfo.GetUpdateEnabled() Method

Asynchronously retrieve the current value of the UpdateEnabled property.

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

Returns

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

EditorLayerInfo.SetAddEnabled(Nullable) Method

Asynchronously set the value of the AddEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.SetAttachmentsOnCreateEnabled(Nullable) Method

Asynchronously set the value of the AttachmentsOnCreateEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.SetAttachmentsOnUpdateEnabled(Nullable) Method

Asynchronously set the value of the AttachmentsOnUpdateEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.SetAttributeUpdatesEnabled(Nullable) Method

Asynchronously set the value of the AttributeUpdatesEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.SetDeleteEnabled(Nullable) Method

Asynchronously set the value of the DeleteEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.SetEnabled(Nullable) Method

Asynchronously set the value of the Enabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

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

EditorLayerInfo.SetGeometryUpdatesEnabled(Nullable) Method

Asynchronously set the value of the GeometryUpdatesEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

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

EditorLayerInfo.SetUpdateEnabled(Nullable) Method

Asynchronously set the value of the UpdateEnabled property after render.

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

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

EditorLayerInfo.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()