dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

AttachmentsPopupContent Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Popups.AttachmentsPopupContent.html”>GeoBlazor Docs</a> An `AttachmentsContent` popup element represents an attachment element associated with a feature. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html”>ArcGIS Maps SDK for JavaScript</a>

public class AttachmentsPopupContent : dymaptic.GeoBlazor.Core.Components.Popups.PopupContent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PopupContent 🡒 AttachmentsPopupContent

Constructors

AttachmentsPopupContent() Constructor

Parameterless constructor for use as a Razor Component.

public AttachmentsPopupContent();

AttachmentsPopupContent(string, string, Nullable<AttachmentsPopupContentDisplayType>, IReadOnlyList<AttachmentsOrderByInfo>) Constructor

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

public AttachmentsPopupContent(string? title=null, string? description=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.AttachmentsPopupContentDisplayType> displayType=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo>? orderByFields=null);

Parameters

title System.String

A heading indicating what the attachment’s content represents. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#title”>ArcGIS Maps SDK for JavaScript</a>

description System.String

Describes the attachment’s content in detail. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#description”>ArcGIS Maps SDK for JavaScript</a>

displayType System.Nullable<AttachmentsPopupContentDisplayType>

A string value indicating how to display an attachment. default “auto” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#displayType”>ArcGIS Maps SDK for JavaScript</a>

orderByFields System.Collections.Generic.IReadOnlyList<AttachmentsOrderByInfo>

An array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-AttachmentsOrderByInfo.html”>AttachmentsOrderByInfo</a> indicating the display order for the attachments, and whether they should be sorted in ascending or descending order. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#orderByFields”>ArcGIS Maps SDK for JavaScript</a>

Properties

AttachmentsPopupContent.Description Property

Describes the attachment’s content in detail.

public string? Description { get; set; }

Property Value

System.String

AttachmentsPopupContent.DisplayType Property

A string value indicating how to display an attachment. default “auto” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#displayType”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.AttachmentsPopupContentDisplayType> DisplayType { get; set; }

Property Value

System.Nullable<AttachmentsPopupContentDisplayType>

AttachmentsPopupContent.OrderByFields Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Popups.AttachmentsPopupContent.html#attachmentspopupcontentorderbyfields-property”>GeoBlazor Docs</a> An array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-AttachmentsOrderByInfo.html”>AttachmentsOrderByInfo</a> indicating the display order for the attachments, and whether they should be sorted in ascending or descending order. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#orderByFields”>ArcGIS Maps SDK for JavaScript</a>

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo>? OrderByFields { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<AttachmentsOrderByInfo>

AttachmentsPopupContent.Title Property

A heading indicating what the attachment’s content represents.

public string? Title { get; set; }

Property Value

System.String

AttachmentsPopupContent.Type Property

The type of Popup Content

public override dymaptic.GeoBlazor.Core.Enums.PopupContentType Type { get; }

Property Value

PopupContentType

Methods

AttachmentsPopupContent.AddToOrderByFields(AttachmentsOrderByInfo[]) Method

Asynchronously adds elements to the OrderByFields property.

public System.Threading.Tasks.Task AddToOrderByFields(params dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo[] values);

Parameters

values AttachmentsOrderByInfo[]

The elements to add.

Returns

System.Threading.Tasks.Task

AttachmentsPopupContent.GetDescription() Method

Asynchronously retrieve the current value of the Description property.

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

Returns

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

AttachmentsPopupContent.GetDisplayType() Method

Asynchronously retrieve the current value of the DisplayType property.

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

Returns

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

AttachmentsPopupContent.GetOrderByFields() Method

Asynchronously retrieve the current value of the OrderByFields property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo>?> GetOrderByFields();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<AttachmentsOrderByInfo>>

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

AttachmentsPopupContent.RemoveFromOrderByFields(AttachmentsOrderByInfo[]) Method

Asynchronously remove an element from the OrderByFields property.

public System.Threading.Tasks.Task RemoveFromOrderByFields(params dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo[] values);

Parameters

values AttachmentsOrderByInfo[]

The elements to remove.

Returns

System.Threading.Tasks.Task

AttachmentsPopupContent.SetDescription(string) Method

Asynchronously set the value of the Description property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

AttachmentsPopupContent.SetDisplayType(Nullable<AttachmentsPopupContentDisplayType>) Method

Asynchronously set the value of the DisplayType property after render.

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

Parameters

value System.Nullable<AttachmentsPopupContentDisplayType>

The value to set.

Returns

System.Threading.Tasks.Task

AttachmentsPopupContent.SetOrderByFields(IReadOnlyList<AttachmentsOrderByInfo>) Method

Asynchronously set the value of the OrderByFields property after render.

public System.Threading.Tasks.Task SetOrderByFields(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.AttachmentsOrderByInfo>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<AttachmentsOrderByInfo>

The value to set.

Returns

System.Threading.Tasks.Task

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

Returns

System.Threading.Tasks.Task

AttachmentsPopupContent.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()