Class MudItemDropInfo<T>
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Record encapsulating data regarding a completed transaction
public record MudItemDropInfo<T> : IEquatable<MudItemDropInfo<T>>
Type Parameters
TType of dragged item
- Inheritance
-
MudItemDropInfo<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
MudItemDropInfo(MudItemDropInfo<T>)
protected MudItemDropInfo(MudItemDropInfo<T> original)
Parameters
originalMudItemDropInfo<T>
MudItemDropInfo(T?, string, int)
Record encapsulating data regarding a completed transaction
public MudItemDropInfo(T? Item, string DropzoneIdentifier, int IndexInZone)
Parameters
ItemTThe dragged item during the transaction
DropzoneIdentifierstringIdentifier of the zone where the transaction started
IndexInZoneintThe index of the item within in the drop zone
Properties
DropzoneIdentifier
Identifier of the zone where the transaction started
public string DropzoneIdentifier { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
IndexInZone
The index of the item within in the drop zone
public int IndexInZone { get; init; }
Property Value
Item
The dragged item during the transaction
public T? Item { get; init; }
Property Value
- T
Methods
Deconstruct(out T?, out string, out int)
public void Deconstruct(out T? Item, out string DropzoneIdentifier, out int IndexInZone)
Parameters
Equals(MudItemDropInfo<T>?)
public virtual bool Equals(MudItemDropInfo<T>? other)
Parameters
otherMudItemDropInfo<T>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(MudItemDropInfo<T>?, MudItemDropInfo<T>?)
public static bool operator ==(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)
Parameters
leftMudItemDropInfo<T>rightMudItemDropInfo<T>
Returns
operator !=(MudItemDropInfo<T>?, MudItemDropInfo<T>?)
public static bool operator !=(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)
Parameters
leftMudItemDropInfo<T>rightMudItemDropInfo<T>