dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

OrderByInfo Class

Class that allows you to define the drawing order of features in a MapView.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

OrderByInfo() Constructor

Parameterless constructor for use as a Razor Component.

public OrderByInfo();

OrderByInfo(string, Nullable, string) Constructor

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

public OrderByInfo(string? field=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SortOrder> order=null, string? valueExpression=null);

Parameters

field System.String

The number or date field whose values will be used to sort features.
ArcGIS Maps SDK for JavaScript

order System.Nullable<SortOrder>

The sort order.
default “ascending”
ArcGIS Maps SDK for JavaScript

valueExpression System.String

An Arcade expression
following the specification defined by the Arcade Feature Z Profile.
ArcGIS Maps SDK for JavaScript

Properties

OrderByInfo.Field Property

The number or date field whose values will be used to sort features.
ArcGIS Maps SDK for JavaScript

public string? Field { get; set; }

Property Value

System.String

OrderByInfo.Order Property

The sort order.
default “ascending”
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<SortOrder>

OrderByInfo.ValueExpression Property

An Arcade expression
following the specification defined by the Arcade Feature Z Profile.
ArcGIS Maps SDK for JavaScript

public string? ValueExpression { get; set; }

Property Value

System.String

Methods

OrderByInfo.GetField() Method

Asynchronously retrieve the current value of the Field property.

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

Returns

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

OrderByInfo.GetOrder() Method

Asynchronously retrieve the current value of the Order property.

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

Returns

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

OrderByInfo.GetValueExpression() Method

Asynchronously retrieve the current value of the ValueExpression property.

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

Returns

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

OrderByInfo.SetField(string) Method

Asynchronously set the value of the Field property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

OrderByInfo.SetOrder(Nullable) Method

Asynchronously set the value of the Order property after render.

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

Parameters

value System.Nullable<SortOrder>

The value to set.

Returns

System.Threading.Tasks.Task

OrderByInfo.SetValueExpression(string) Method

Asynchronously set the value of the ValueExpression property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task