dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

AttachmentsPopupContent Class

An AttachmentsContent popup element represents an attachment element associated with a
feature.
ArcGIS Maps SDK for JavaScript

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, IReadOnlyList) 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.
ArcGIS Maps SDK for JavaScript

description System.String

Describes the attachment’s content in detail.
ArcGIS Maps SDK for JavaScript

displayType System.Nullable<AttachmentsPopupContentDisplayType>

A string value indicating how to display an attachment.
default “auto”
ArcGIS Maps SDK for JavaScript

orderByFields System.Collections.Generic.IReadOnlyList<AttachmentsOrderByInfo>

An array of AttachmentsOrderByInfo indicating the display order for the attachments, and whether they should be sorted in ascending or descending order.
ArcGIS Maps SDK for JavaScript

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”
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<AttachmentsPopupContentDisplayType>

AttachmentsPopupContent.OrderByFields Property

An array of AttachmentsOrderByInfo indicating the display order for the attachments, and whether they should be sorted in ascending or descending order.
ArcGIS Maps SDK for JavaScript

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) 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) 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()