GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
AttributeTableTemplate Class
An AttributeTableTemplate
manages the configuration of how the FeatureTable widget displays its columns.
ArcGIS Maps SDK for JavaScript
public class AttributeTableTemplate : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplate,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 AttributeTableTemplate
Implements dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplate, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Constructors
AttributeTableTemplate() Constructor
Parameterless constructor for use as a Razor Component.
public AttributeTableTemplate();
AttributeTableTemplate(IReadOnlyList, IReadOnlyList) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public AttributeTableTemplate(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>? elements=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FieldOrder>? orderByFields=null);
Parameters
elements
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>
An array of attribute table element
objects that represent an ordered list of table elements.
ArcGIS Maps SDK for JavaScript
orderByFields
System.Collections.Generic.IReadOnlyList<FieldOrder>
An Array of FieldOrder objects indicating the records’ sort order.
ArcGIS Maps SDK for JavaScript
Properties
AttributeTableTemplate.Elements Property
An array of attribute table element
objects that represent an ordered list of table elements.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>? Elements { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>
AttributeTableTemplate.OrderByFields Property
An Array of FieldOrder objects indicating the records’ sort order.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FieldOrder>? OrderByFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<FieldOrder>
Methods
AttributeTableTemplate.AddToElements(IAttributeTableTemplateElements[]) Method
Asynchronously adds elements to the Elements property.
public System.Threading.Tasks.Task AddToElements(params dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements[]
The elements to add.
Returns
AttributeTableTemplate.AddToOrderByFields(FieldOrder[]) Method
Asynchronously adds elements to the OrderByFields property.
public System.Threading.Tasks.Task AddToOrderByFields(params dymaptic.GeoBlazor.Pro.Components.FieldOrder[] values);
Parameters
values
FieldOrder[]
The elements to add.
Returns
AttributeTableTemplate.GetElements() Method
Asynchronously retrieve the current value of the Elements property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>?> GetElements();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>>
AttributeTableTemplate.GetOrderByFields() Method
Asynchronously retrieve the current value of the OrderByFields property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FieldOrder>?> GetOrderByFields();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<FieldOrder>>
AttributeTableTemplate.RemoveFromElements(IAttributeTableTemplateElements[]) Method
Asynchronously remove an element from the Elements property.
public System.Threading.Tasks.Task RemoveFromElements(params dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements[]
The elements to remove.
Returns
AttributeTableTemplate.RemoveFromOrderByFields(FieldOrder[]) Method
Asynchronously remove an element from the OrderByFields property.
public System.Threading.Tasks.Task RemoveFromOrderByFields(params dymaptic.GeoBlazor.Pro.Components.FieldOrder[] values);
Parameters
values
FieldOrder[]
The elements to remove.
Returns
AttributeTableTemplate.SetElements(IReadOnlyList) Method
Asynchronously set the value of the Elements property after render.
public System.Threading.Tasks.Task SetElements(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Interfaces.IAttributeTableTemplateElements>
The value to set.
Returns
AttributeTableTemplate.SetOrderByFields(IReadOnlyList) Method
Asynchronously set the value of the OrderByFields property after render.
public System.Threading.Tasks.Task SetOrderByFields(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FieldOrder>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<FieldOrder>
The value to set.
Returns
AttributeTableTemplate.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()