Table of Contents

Class CommandPanel

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

Properties

ChildContent

[Parameter]
[EditorRequired]
public required RenderFragment<CommandsModel> ChildContent { get; set; }

Property Value

RenderFragment<CommandsModel>

CommandContext

[CascadingParameter]
public ICommandHost? CommandContext { get; set; }

Property Value

ICommandHost

Logger

[Inject]
public required ILogger<CommandPanel> Logger { get; set; }

Property Value

ILogger<CommandPanel>

ModalContext

The shell's modal cascade, if the panel sits inside one. Only such a panel registers its commands' The.Web.Pages.CommandModalRegistrations; panels outside it (e.g. ResponsiveShell's title bar) cannot host modals.

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

Property Value

IModalContext

Provider

[Inject]
public required IServiceProvider Provider { get; set; }

Property Value

IServiceProvider

Services

[Inject]
public required IServices Services { get; set; }

Property Value

IServices

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

builder RenderTreeBuilder

A RenderTreeBuilder that will receive the render output.

Dispose()

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

public void Dispose()

OnParametersSetAsync()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override Task OnParametersSetAsync()

Returns

Task

A Task representing any asynchronous operation.