public sealed class SortableList<TItem> : BlazorBootstrapComponentBase
| SortableListTItem | Initializes a new instance of the SortableListTItem class |
| AllowSorting |
Gets or sets a value indicating whether sorting is allowed for the list.
Default value is . |
| ChildContent |
Gets or sets the content to be rendered within the component.
Default value is . |
| Data |
Gets or sets the items.
Default value is . |
| DisabledItemCssClass |
Gets or sets the CSS class applied to disabled items.
Default value is . |
| DisableItem |
Gets or sets a delegate that determines whether an item should be disabled.
Default value is . |
| EmptyDataTemplate |
Gets or sets the empty data template.
Default value is . |
| EmptyText |
Gets or sets the text to display when there are no records in the list.
Default value is `No records to display`. |
| Group |
Gets or sets the group name associated with the list.
Default value is . |
| Handle |
Gets or sets the CSS selector for the drag handle element.
Default value is . |
| IsLoading |
Gets or sets the loading state.
Default value is . |
| ItemTemplate |
Gets or sets the template used to render individual items in the list.
Default value is . |
| LoadingTemplate |
Gets or sets the loading template.
Default value is . |
| Name |
Gets or sets the name of the SortableListTItem component.
Default value is . |
| 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. |
| Pull |
Gets or sets the pull mode for the sortable list.
Default value is True. |
| Put |
Gets or sets the put mode for the sortable list.
Default value is True. |
| OnAddJS | Handles the JavaScript interop callback for when an item is added to the list. |
| OnRemoveJS | Handles the JavaScript interop callback for when an item is removed from the list. |
| OnUpdateJS | Handles a JavaScript-triggered update event by invoking the associated callback with the provided item indices. |
| 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)) |