Table of Contents

Class MudDragAndDropTransactionFinishedEventArgs<T>

Namespace
MudBlazor
Assembly
MudBlazor.dll

The information related to a MudDropZone<T> completed drag-and-drop transaction.

public class MudDragAndDropTransactionFinishedEventArgs<T> : EventArgs

Type Parameters

T

The type of item being dragged and dropped.

Inheritance
MudDragAndDropTransactionFinishedEventArgs<T>
Inherited Members
Extension Methods

Constructors

MudDragAndDropTransactionFinishedEventArgs(MudDragAndDropItemTransaction<T>)

Creates a new instance.

public MudDragAndDropTransactionFinishedEventArgs(MudDragAndDropItemTransaction<T> transaction)

Parameters

transaction MudDragAndDropItemTransaction<T>

The transaction related to this event.

MudDragAndDropTransactionFinishedEventArgs(string, bool, MudDragAndDropItemTransaction<T>)

Creates a new instance.

public MudDragAndDropTransactionFinishedEventArgs(string destinationDropZoneIdentifier, bool success, MudDragAndDropItemTransaction<T> transaction)

Parameters

destinationDropZoneIdentifier string

The unique ID of the zone where the drag-and-drop finished.

success bool

Whether the drag-and-drop completed successfully.

transaction MudDragAndDropItemTransaction<T>

The transaction related to this event.

Properties

DestinationDropzoneIdentifier

The unique ID of the zone where the drag-and-drop finished.

public string DestinationDropzoneIdentifier { get; }

Property Value

string

DestinationIndex

The index of the zone where the drag-and-drop finished.

public int DestinationIndex { get; }

Property Value

int

Item

The item which was dropped.

public T? Item { get; }

Property Value

T

OriginIndex

The index of the zone where the drag-and-drop started.

public int OriginIndex { get; }

Property Value

int

OriginatedDropzoneIdentifier

The unique ID of the zone where the drag-and-drop started.

public string OriginatedDropzoneIdentifier { get; }

Property Value

string

Success

Whether the drag-and-drop completed successfully.

public bool Success { get; }

Property Value

bool

Remarks

Defaults to false.