Table of Contents

Class BoxInlay

Namespace
The.Web.Controls.Primitives
Assembly
Instagile.Web.Client.dll
public class BoxInlay : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance
BoxInlay
Implements
Inherited Members

Properties

ChildContent

The icon or content shown inside the inlay (typically a single <Icon>).

[Parameter]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Decorative

Non-interactive affordance indicator for e.g. <select> chevrons.

[Parameter]
public bool Decorative { get; set; }

Property Value

bool

Element

The inlay's button element, so a parent can attach native behaviour to it.

public ElementReference Element { get; }

Property Value

ElementReference

Label

Accessible name for the command, e.g. "Choose date".

[Parameter]
public string? Label { get; set; }

Property Value

string

OnClick

Invoked when the inlay is activated. Leave unset when handled by JS.

[Parameter]
public EventCallback OnClick { get; set; }

Property Value

EventCallback

Splat

[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object>? Splat { get; set; }

Property Value

Dictionary<string, object>

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder