layout: default title: RelationshipPopupContent parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

RelationshipPopupContent Class

A RelationshipContent popup element represents a relationship element associated with a feature. This can only be
configured if the related layer or table is added to the map.
RelationshipContent provides a way to browse related records of the current selected feature within its popup, as
shown in the images below. The Origin Feature image shows a popup template configured with RelationshipContent.
When selecting one of the related features in the list, the popup template for the chosen related destination
feature displays. The Related Destination Feature image shows the destination popup template content with
FieldsContent and RelationshipContent configured. When exploring a related feature’s RelationshipContent, one could
navigate into that feature’s related records or exit the origin feature’s related record exploration with the arrow
button.
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 creating content in C# code.

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

Parameters

title System.String

A heading indicating what the relationship’s content represents.

description System.String

Describes the relationship’s content in detail.

displayCount System.Nullable<System.Int32>

A numeric value indicating the maximum number of related features to display in the list of related records. The

displayType System.String

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

orderByFields System.Collections.Generic.IReadOnlyList<RelatedRecordsInfoFieldOrder>

An array of RelatedRecordsInfoFieldOrder indicating the display order for the related records, and whether they

relationshipId System.Nullable<System.Int32>

The numeric id value for the defined relationship. This value can be found on the service itself or on the

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.Popups.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<int> RelationshipId { get; set; }

Property Value

System.Nullable<System.Int32>

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 string Type { get; }

Property Value

System.String