layout: default title: PopupOpenOptions parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

PopupOpenOptions Class

Defines the location and content of the popup when opened with OpenPopup(PopupOpenOptions)

public class PopupOpenOptions

Inheritance System.Object 🡒 PopupOpenOptions

Properties

PopupOpenOptions.Collapsed Property

When true, indicates that only the popup header will display.

public System.Nullable<bool> Collapsed { get; set; }

Property Value

System.Nullable<System.Boolean>

PopupOpenOptions.FeatureMenuOpen Property

This property enables multiple features in a popup to display in a list rather than displaying the first selected
feature. Setting this to true allows the user to scroll through the list of features returned from the query and
choose the selection they want to display within the popup.

public System.Nullable<bool> FeatureMenuOpen { get; set; }

Property Value

System.Nullable<System.Boolean>

PopupOpenOptions.Features Property

Sets the popup’s features, which populate the title and content of the popup based on each graphic’s PopupTemplate.

public dymaptic.GeoBlazor.Core.Components.Layers.Graphic[]? Features { get; set; }

Property Value

Graphic[]

PopupOpenOptions.FetchFeatures Property

When true, indicates the popup should fetch the content of this feature and display it. If no PopupTemplate exists,
a default template is created for the layer if defaultPopupTemplateEnabled = true. In order for this option to
work, there must be a valid view and location set.

public System.Nullable<bool> FetchFeatures { get; set; }

Property Value

System.Nullable<System.Boolean>

PopupOpenOptions.Location Property

Sets the popup’s location, which is the geometry used to position the popup.

public dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? Location { get; set; }

Property Value

Geometry

PopupOpenOptions.ShouldFocus Property

When true, indicates that the focus should be on the popup after it has been opened.

public System.Nullable<bool> ShouldFocus { get; set; }

Property Value

System.Nullable<System.Boolean>

PopupOpenOptions.StringContent Property

Sets the content of the popup to a raw or html string.

public string? StringContent { get; set; }

Property Value

System.String

PopupOpenOptions.Title Property

Sets the title of the popup.

public string? Title { get; set; }

Property Value

System.String

PopupOpenOptions.UpdateLocationEnabled Property

When true indicates the popup should update its location for each paginated feature based on the selected feature’s
geometry.

public System.Nullable<bool> UpdateLocationEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

PopupOpenOptions.WidgetContent Property

Sets the content of the popup to a Widget.

public dymaptic.GeoBlazor.Core.Components.Widgets.Widget? WidgetContent { get; set; }

Property Value

Widget