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
Decorative
Non-interactive affordance indicator for e.g. <select> chevrons.
[Parameter]
public bool Decorative { get; set; }
Property Value
Element
The inlay's button element, so a parent can attach native behaviour to it.
public ElementReference Element { get; }
Property Value
Label
Accessible name for the command, e.g. "Choose date".
[Parameter]
public string? Label { get; set; }
Property Value
OnClick
Invoked when the inlay is activated. Leave unset when handled by JS.
[Parameter]
public EventCallback OnClick { get; set; }
Property Value
Splat
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object>? Splat { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder