dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

RelationshipPopupContent Class

A RelationshipContent popup element represents a relationship element associated with a feature.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

RelationshipPopupContent() Constructor

Parameterless constructor for use as a Razor Component.

public RelationshipPopupContent();

RelationshipPopupContent(string, string, Nullable, string, IReadOnlyList, Nullable) Constructor

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

public RelationshipPopupContent(string? title=null, string? description=null, System.Nullable<int> displayCount=null, string? displayType=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.RelatedRecordsInfoFieldOrder>? orderByFields=null, System.Nullable<long> relationshipId=null);

Parameters

title System.String

A heading indicating what the relationship’s content represents.
ArcGIS Maps SDK for JavaScript

description System.String

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

displayCount System.Nullable<System.Int32>

A numeric value indicating the maximum number of related features to display in the list of related records.
ArcGIS Maps SDK for JavaScript

displayType System.String

A string value indicating how to display related records within the relationship content.
default “list”
ArcGIS Maps SDK for JavaScript

orderByFields System.Collections.Generic.IReadOnlyList<RelatedRecordsInfoFieldOrder>

An array of RelatedRecordsInfoFieldOrder indicating the display order for the related records, and whether they should be sorted in ascending asc or descending desc order.
ArcGIS Maps SDK for JavaScript

relationshipId System.Nullable<System.Int64>

The numeric id value for the defined relationship.
ArcGIS Maps SDK for JavaScript

Properties

RelationshipPopupContent.Description Property

Describes the relationship’s content in detail.

public string? Description { get; set; }

Property Value

System.String

RelationshipPopupContent.DisplayCount Property

A numeric value indicating the maximum number of related features to display in the list of related records. The maximum number of related records to display in the list of related records is 10. If no value is specified, the Show all button will be available to display all related records.

public System.Nullable<int> DisplayCount { get; set; }

Property Value

System.Nullable<System.Int32>

RelationshipPopupContent.DisplayType Property

A string value indicating how to display related records within the relationship content.

public string? DisplayType { get; set; }

Property Value

System.String

RelationshipPopupContent.OrderByFields Property

An array of RelatedRecordsInfoFieldOrder indicating the display order for the related records, and whether they should be sorted in ascending asc or descending desc order.

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

Property Value

System.Collections.Generic.IReadOnlyList<RelatedRecordsInfoFieldOrder>

RelationshipPopupContent.RelationshipId Property

The numeric id value for the defined relationship. This value can be found on the service itself or on the service’s relationships resource if supportsRelationshipResource is true.

public System.Nullable<long> RelationshipId { get; set; }

Property Value

System.Nullable<System.Int64>

RelationshipPopupContent.Title Property

A heading indicating what the relationship’s content represents.

public string? Title { get; set; }

Property Value

System.String

RelationshipPopupContent.Type Property

The type of Popup Content

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

Property Value

PopupContentType

Methods

RelationshipPopupContent.AddToOrderByFields(RelatedRecordsInfoFieldOrder[]) Method

Asynchronously adds elements to the OrderByFields property.

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

Parameters

values RelatedRecordsInfoFieldOrder[]

The elements to add.

Returns

System.Threading.Tasks.Task

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

RelationshipPopupContent.GetDisplayCount() Method

Asynchronously retrieve the current value of the DisplayCount property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetDisplayCount();

Returns

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

RelationshipPopupContent.GetDisplayType() Method

Asynchronously retrieve the current value of the DisplayType property.

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

Returns

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

RelationshipPopupContent.GetOrderByFields() Method

Asynchronously retrieve the current value of the OrderByFields property.

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

Returns

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

RelationshipPopupContent.GetRelationshipId() Method

Asynchronously retrieve the current value of the RelationshipId property.

public System.Threading.Tasks.Task<System.Nullable<long>> GetRelationshipId();

Returns

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

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

RelationshipPopupContent.RemoveFromOrderByFields(RelatedRecordsInfoFieldOrder[]) Method

Asynchronously remove an element from the OrderByFields property.

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

Parameters

values RelatedRecordsInfoFieldOrder[]

The elements to remove.

Returns

System.Threading.Tasks.Task

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

RelationshipPopupContent.SetDisplayCount(Nullable) Method

Asynchronously set the value of the DisplayCount property after render.

public System.Threading.Tasks.Task SetDisplayCount(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

RelationshipPopupContent.SetDisplayType(string) Method

Asynchronously set the value of the DisplayType property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

RelationshipPopupContent.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.RelatedRecordsInfoFieldOrder>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<RelatedRecordsInfoFieldOrder>

The value to set.

Returns

System.Threading.Tasks.Task

RelationshipPopupContent.SetRelationshipId(Nullable) Method

Asynchronously set the value of the RelationshipId property after render.

public System.Threading.Tasks.Task SetRelationshipId(System.Nullable<long> value);

Parameters

value System.Nullable<System.Int64>

The value to set.

Returns

System.Threading.Tasks.Task

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