Class ModalRegistration
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
ModalContext
[CascadingParameter]
public IModalContext? ModalContext { get; set; }
Property Value
Navigation
[Inject]
public NavigationManager Navigation { get; set; }
Property Value
Route
[Parameter]
[EditorRequired]
public required string Route { get; set; }
Property Value
Title
[Parameter]
[EditorRequired]
public required string Title { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
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
routestring
Returns
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
routestring
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.