dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

MediaInfo Class

Contains the media elements representing images or charts to display
within the PopupTemplate.
ArcGIS Maps SDK for JavaScript

public abstract class MediaInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Derived
↳ BarChartMediaInfo
↳ ColumnChartMediaInfo
↳ ImageMediaInfo
↳ LineChartMediaInfo
↳ PieChartMediaInfo

Properties

MediaInfo.AltText Property

Provides an alternate text for an image if the image cannot be displayed.
ArcGIS Maps SDK for JavaScript

public string? AltText { get; set; }

Property Value

System.String

MediaInfo.Caption Property

Defines a caption for the media.
ArcGIS Maps SDK for JavaScript

public string? Caption { get; set; }

Property Value

System.String

MediaInfo.Title Property

The title of the media element.
ArcGIS Maps SDK for JavaScript

public string? Title { get; set; }

Property Value

System.String

MediaInfo.Type Property

Indicates the type of media

public abstract string Type { get; }

Property Value

System.String

Methods

MediaInfo.GetAltText() Method

Asynchronously retrieve the current value of the AltText property.

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

Returns

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

MediaInfo.GetCaption() Method

Asynchronously retrieve the current value of the Caption property.

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

Returns

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

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

MediaInfo.SetAltText(string) Method

Asynchronously set the value of the AltText property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

MediaInfo.SetCaption(string) Method

Asynchronously set the value of the Caption property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

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