SortableListTItem Class

Represents a sortable list component.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class SortableList<TItem> : BlazorBootstrapComponentBase
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    SortableListTItem

Type Parameters

TItem
The type of items in the list.

Constructors

SortableListTItemInitializes a new instance of the SortableListTItem class

Properties

AllowSorting Gets or sets a value indicating whether sorting is allowed for the list.
Data Gets or sets the items.
ItemTemplate Gets or sets the template used to render individual items in the list.
OnAdd Gets or sets an event callback that fires when an item is added to the list.
OnRemove Gets or sets an event callback that fires when an item is removed from the list.
OnUpdate Gets or sets an event callback that fires when an item is updated in the list.

Methods

OnAddJS Invoked by the browser when a new item is added to the list.
OnRemoveJS Invoked by the browser when a new item has been removed from the list.
OnUpdateJS Invoked by the browser when the list was updated.
SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also