GeoBlazor Pro


layout: pro title: RelationshipInput parent: Pro Classes —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

RelationshipInput Class

This is a read-only support class that represents a relationship input field. It is used by the FeatureForm widget. The values are computed internally by the FeatureFormViewModel.
ArcGIS Maps SDK for JavaScript

public class RelationshipInput : dymaptic.GeoBlazor.Pro.Components.Widgets.SupportInput,
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.RelationshipInput>

Inheritance System.Object 🡒 SupportInput 🡒 RelationshipInput

Implements System.IEquatable<RelationshipInput>

Constructors

RelationshipInput(int, string, bool, GroupInput, RelatedRecordsInfoFieldOrder[], bool) Constructor

This is a read-only support class that represents a relationship input field. It is used by the FeatureForm widget. The values are computed internally by the FeatureFormViewModel.
ArcGIS Maps SDK for JavaScript

public RelationshipInput(int DisplayCount, string DisplayType, bool Editable, dymaptic.GeoBlazor.Pro.Components.Widgets.GroupInput Group, dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder[] OrderByFields, bool Updating);

Parameters

DisplayCount System.Int32

A numeric value indicating the maximum number of related features to display in the list of related records. If no value is specified, the Show all button will be available to display all related records and the associated FeatureForm/RelationshipInput defaults to 3. If the total amount of features is greater than the displayCount, a Show all button displays. Default Value: 3

DisplayType System.String

A string value indicating how to display related records within the relationship content. Currently, list is the only supported value.

Editable System.Boolean

Indicates whether the input is editable.

Group GroupInput

The group containing the relationship input.

OrderByFields dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder[]

An array of dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder objects indicating the field display order for the related records and whether they should be sorted in ascending asc or descending desc order.

Updating System.Boolean

Indicates whether the form is currently updating.

Properties

RelationshipInput.DisplayCount Property

A numeric value indicating the maximum number of related features to display in the list of related records. If no value is specified, the Show all button will be available to display all related records and the associated FeatureForm/RelationshipInput defaults to 3. If the total amount of features is greater than the displayCount, a Show all button displays. Default Value: 3

public int DisplayCount { get; set; }

Property Value

System.Int32

RelationshipInput.DisplayType Property

A string value indicating how to display related records within the relationship content. Currently, list is the only supported value.

public string DisplayType { get; set; }

Property Value

System.String

RelationshipInput.Editable Property

Indicates whether the input is editable.

public bool Editable { get; set; }

Property Value

System.Boolean

RelationshipInput.Group Property

The group containing the relationship input.

public dymaptic.GeoBlazor.Pro.Components.Widgets.GroupInput Group { get; set; }

Property Value

GroupInput

RelationshipInput.OrderByFields Property

An array of dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder objects indicating the field display order for the related records and whether they should be sorted in ascending asc or descending desc order.

public dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder[] OrderByFields { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Popups.RelatedRecordsInfoFieldOrder[]

RelationshipInput.Updating Property

Indicates whether the form is currently updating.

public bool Updating { get; set; }

Property Value

System.Boolean