Skip to content

Popup

Namespace: ThinkGeo.UI.Blazor

public class Popup : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender

Inheritance Object → ComponentBase → Popup
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

AutoPan

Gets or sets a value indicating whether the map is panned when calling method.

public bool AutoPan { get; set; }

Property Value

Boolean

ChildContent

Gets or sets the template for displaying content.

public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Id

Gets or sets the ID of the popup.

public string Id { get; set; }

Property Value

String

Position

Gets or sets the location of the Popup on the map.

public PointShape Position { get; set; }

Property Value

PointShape

OffsetX

Gets or sets the offsetX.

public double OffsetX { get; set; }

Property Value

Double

OffsetY

Gets or sets the offsetY.

public double OffsetY { get; set; }

Property Value

Double

OnClose

public EventCallback OnClose { get; set; }

Property Value

EventCallback

Constructors

public Popup()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

SetParametersAsync(ParameterView)

public Task SetParametersAsync(ParameterView parameters)

Parameters

parameters ParameterView

Returns

Task

OnAfterRenderAsync(Boolean)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender Boolean

Returns

Task

ShouldRender()

protected bool ShouldRender()

Returns

Boolean