Fundamentals
Components
Code Utilities
Demo
BcDragProvider
Warning
Drag & Drop functionality is currently not supported on mobile devices. Touch events need to be implemented!
Attributes for BcDragProvider
TItem
Type
Defines the data type of draggable objects. This must be specified.
Refresh
Action
Triggers an external refresh after an object has been dragged, if needed.
Attributes for BcDragContainer
Value
List < TItem >
List of draggable items bound to this container.
ValueChanged
List < TItem >
Triggers when the items inside the list change due to drag-and-drop.
Context
TItem
Defines the template item for drag operations.
DragClass
string
Specifies the CSS class applied when an item is being dragged.
Class
string
Defines CSS classes applied to the BcDragContainer.
Accepts
Func < TItem >
Checks whether an item can be dropped into the BcDragContainer.
Sample
Element: 1
Element: 2
Element: 3
Element: 4
Element: 5
Element: 6
Element: 7
Element: 8