Table of Contents

Class InternalDragAndDropItem

Namespace
Material.Blazor.Internal
Assembly
Material.Blazor.dll

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

bool

ChildContent

The item's render fragment.

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

DragEndNotifier

Action called when item is dropped on this spacer.

[Parameter]
public Action DragEndNotifier { get; set; }

Property Value

Action

DragStartNotifier

Action called when item is dropped on this spacer.

[Parameter]
public Action<int> DragStartNotifier { get; set; }

Property Value

Action<int>

Index

The item's index.

[Parameter]
public int Index { get; set; }

Property Value

int

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()

Returns

Task

A Task representing any asynchronous operation.