Table of Contents

Class ListBox<T>

Namespace
The.Web.Widgets
Assembly
Instagile.Web.Client.dll
public class ListBox<T> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ISelectionWidget<T>, IWidget<T?>

Type Parameters

T
Inheritance
ListBox<T>
Implements
Inherited Members

Properties

AttachBottom

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

Property Value

bool

AttachLeft

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

Property Value

bool

AttachRight

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

Property Value

bool

AttachTop

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

Property Value

bool

ChildContent

Format a choice for display as HTML. May be generated in constrained circumstances (for example, inside an <option> tag).

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

Property Value

RenderFragment<T>

FocusChanged

[Parameter]
public EventCallback<bool> FocusChanged { get; set; }

Property Value

EventCallback<bool>

HasChanges

If true, display a visual indication to the user.

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

Property Value

bool

Options

Preset choices for Value.

[Parameter]
public IReadOnlyList<T> Options { get; set; }

Property Value

IReadOnlyList<T>

Splat

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

Property Value

Dictionary<string, object>

Validity

If set, display a visual indication to the user.

[Parameter]
public MessageLevel? Validity { get; set; }

Property Value

MessageLevel?

Value

Bindable typed value.

[Parameter]
public T? Value { get; set; }

Property Value

T

ValueChanged

Triggered when data is entered by the user.

[Parameter]
public EventCallback<T?> ValueChanged { get; set; }

Property Value

EventCallback<T>

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder