Class MudItemDropInfo<T>
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Record encapsulating data regarding a completed transaction
public record MudItemDropInfo<T> : IEquatable<MudItemDropInfo<T>>
Type Parameters
T
Type of dragged item
- Inheritance
-
MudItemDropInfo<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
MudItemDropInfo(MudItemDropInfo<T>)
protected MudItemDropInfo(MudItemDropInfo<T> original)
Parameters
original
MudItemDropInfo<T>
MudItemDropInfo(T?, string, int)
Record encapsulating data regarding a completed transaction
public MudItemDropInfo(T? Item, string DropzoneIdentifier, int IndexInZone)
Parameters
Item
TThe dragged item during the transaction
DropzoneIdentifier
stringIdentifier of the zone where the transaction started
IndexInZone
intThe 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
other
MudItemDropInfo<T>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(MudItemDropInfo<T>?, MudItemDropInfo<T>?)
public static bool operator ==(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)
Parameters
left
MudItemDropInfo<T>right
MudItemDropInfo<T>
Returns
operator !=(MudItemDropInfo<T>?, MudItemDropInfo<T>?)
public static bool operator !=(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)
Parameters
left
MudItemDropInfo<T>right
MudItemDropInfo<T>