dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
ElementExpressionInfo Class
Defines an Arcade expression used to create an ExpressionContent
element in a PopupTemplate.
ArcGIS Maps SDK for JavaScript
public class ElementExpressionInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ElementExpressionInfo
Constructors
ElementExpressionInfo() Constructor
Parameterless constructor for use as a Razor Component.
public ElementExpressionInfo();
ElementExpressionInfo(string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public ElementExpressionInfo(string? expression=null, string? title=null);
Parameters
expression
System.String
The Arcade expression evaluating to
a dictionary.
ArcGIS Maps SDK for JavaScript
title
System.String
The title used to describe the popup element returned by the expression.
ArcGIS Maps SDK for JavaScript
Properties
ElementExpressionInfo.Expression Property
The Arcade expression evaluating to
a dictionary.
ArcGIS Maps SDK for JavaScript
public string? Expression { get; set; }
Property Value
ElementExpressionInfo.ReturnType Property
The return type of the expression.
ArcGIS Maps SDK for JavaScript
public string? ReturnType { get; set; }
Property Value
ElementExpressionInfo.Title Property
The title used to describe the popup element returned by the expression.
ArcGIS Maps SDK for JavaScript
public string? Title { get; set; }
Property Value
Methods
ElementExpressionInfo.GetExpression() Method
Asynchronously retrieve the current value of the Expression property.
public System.Threading.Tasks.Task<string?> GetExpression();
Returns
System.Threading.Tasks.Task<System.String>
ElementExpressionInfo.GetReturnType() Method
Asynchronously retrieve the current value of the ReturnType property.
public System.Threading.Tasks.Task<string?> GetReturnType();
Returns
System.Threading.Tasks.Task<System.String>
ElementExpressionInfo.GetTitle() Method
Asynchronously retrieve the current value of the Title property.
public System.Threading.Tasks.Task<string?> GetTitle();
Returns
System.Threading.Tasks.Task<System.String>
ElementExpressionInfo.SetExpression(string) Method
Asynchronously set the value of the Expression property after render.
public System.Threading.Tasks.Task SetExpression(string? value);
Parameters
value
System.String
The value to set.
Returns
ElementExpressionInfo.SetTitle(string) Method
Asynchronously set the value of the Title property after render.
public System.Threading.Tasks.Task SetTitle(string? value);
Parameters
value
System.String
The value to set.