GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

FeatureViewModelFormattedAttributes Class

The formatted attributes calculated from fieldInfo PopupTemplate
content.
default null
ArcGIS Maps SDK for JavaScript

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

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

Constructors

FeatureViewModelFormattedAttributes() Constructor

Parameterless constructor for use as a Razor Component.

public FeatureViewModelFormattedAttributes();

FeatureViewModelFormattedAttributes(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 FeatureViewModelFormattedAttributes(string? content=null, string? global=null);

Parameters

content System.String

The formatted attributes for an individual content element.
ArcGIS Maps SDK for JavaScript

global System.String

The formatted attributes specified at the root level of the PopupTemplate using the PopupTemplate.fieldInfos property.
ArcGIS Maps SDK for JavaScript

Properties

FeatureViewModelFormattedAttributes.Content Property

The formatted attributes for an individual content element.
ArcGIS Maps SDK for JavaScript

public string? Content { get; set; }

Property Value

System.String

FeatureViewModelFormattedAttributes.Global Property

The formatted attributes specified at the root level of the PopupTemplate using the PopupTemplate.fieldInfos property.
ArcGIS Maps SDK for JavaScript

public string? Global { get; set; }

Property Value

System.String

Methods

FeatureViewModelFormattedAttributes.GetContent() Method

Asynchronously retrieve the current value of the Content property.

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

Returns

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

FeatureViewModelFormattedAttributes.GetGlobal() Method

Asynchronously retrieve the current value of the Global property.

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

Returns

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

FeatureViewModelFormattedAttributes.SetContent(string) Method

Asynchronously set the value of the Content property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

FeatureViewModelFormattedAttributes.SetGlobal(string) Method

Asynchronously set the value of the Global property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task