Table of Contents

Class ModalRegistration

Namespace
The.Web.Pages
Assembly
Instagile.Web.Client.dll
public class ModalRegistration : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
ModalRegistration
Implements
Inherited Members

Remarks

Does not support changing parameters after the first render.

Properties

ChildContent

[Parameter]
public RenderFragment<IReadOnlyDictionary<string, object>>? ChildContent { get; set; }

Property Value

RenderFragment<IReadOnlyDictionary<string, object>>

ModalContext

[CascadingParameter]
public IModalContext? ModalContext { get; set; }

Property Value

IModalContext

Navigation

[Inject]
public NavigationManager Navigation { get; set; }

Property Value

NavigationManager

Route

[Parameter]
[EditorRequired]
public required string Route { get; set; }

Property Value

string

Title

[Parameter]
[EditorRequired]
public required string Title { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Close()

public void Close()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetPath(string)

public string GetPath(string route)

Parameters

route string

Returns

string

OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

protected override void OnInitialized()

Open(string)

public void Open(string route)

Parameters

route string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.