Class InternalDragAndDropItem
For Material.Blazor internal use only.
public class InternalDragAndDropItem : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
InternalDragAndDropItem
- Implements
- Inherited Members
Constructors
InternalDragAndDropItem()
public InternalDragAndDropItem()
Properties
AutospaceContent
Adds padding to user supplied content if true.
[Parameter]
public bool AutospaceContent { get; set; }
Property Value
ChildContent
The item's render fragment.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
DragEndNotifier
Action called when item is dropped on this spacer.
[Parameter]
public Action DragEndNotifier { get; set; }
Property Value
DragStartNotifier
Action called when item is dropped on this spacer.
[Parameter]
public Action<int> DragStartNotifier { get; set; }
Property Value
Index
The item's index.
[Parameter]
public int Index { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
protected override Task OnInitializedAsync()