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
stringThe unique ID of the zone where the drag-and-drop finished.
success
boolWhether 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
DestinationIndex
The index of the zone where the drag-and-drop finished.
public int DestinationIndex { get; }
Property Value
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
OriginatedDropzoneIdentifier
The unique ID of the zone where the drag-and-drop started.
public string OriginatedDropzoneIdentifier { get; }
Property Value
Success
Whether the drag-and-drop completed successfully.
public bool Success { get; }
Property Value
Remarks
Defaults to false
.