layout: default title: PopupDockOptions parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
PopupDockOptions Class
Docking the popup allows for a better user experience, particularly when opening popups in apps on mobile devices.
When a popup is “dockEnabled” it means the popup no longer points to the selected feature or the location assigned
to it. Rather it is placed in one of the corners of the view or to the top or bottom of it. This property allows
the developer to set various options for docking the popup.
public class PopupDockOptions : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PopupDockOptions
Constructors
PopupDockOptions() Constructor
Parameterless constructor for use as a razor component.
public PopupDockOptions();
PopupDockOptions(Nullable, Nullable, BreakPoint) Constructor
Constructor for creating a PopupDockOptions object in code.
public PopupDockOptions(System.Nullable<dymaptic.GeoBlazor.Core.Components.Widgets.PopupDockPosition> position=null, System.Nullable<bool> buttonEnabled=null, dymaptic.GeoBlazor.Core.Components.Widgets.BreakPoint? breakPoint=null);
Parameters
position
System.Nullable<PopupDockPosition>
The position in the view at which to dock the popup.
buttonEnabled
System.Nullable<System.Boolean>
If true, displays the dock button. If false, hides the dock button from the popup.
breakPoint
BreakPoint
Defines the dimensions of the View at which to dock the popup. Set to false to disable docking at a breakpoint.
Properties
PopupDockOptions.BreakPoint Property
Defines the dimensions of the View at which to dock the popup. Set to false to disable docking at a breakpoint.
public dymaptic.GeoBlazor.Core.Components.Widgets.BreakPoint? BreakPoint { get; set; }
Property Value
PopupDockOptions.ButtonEnabled Property
If true, displays the dock button. If false, hides the dock button from the popup.
public System.Nullable<bool> ButtonEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
PopupDockOptions.Position Property
The position in the view at which to dock the popup.
public System.Nullable<dymaptic.GeoBlazor.Core.Components.Widgets.PopupDockPosition> Position { get; set; }