Table of Contents

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 T

The dragged item during the transaction

DropzoneIdentifier string

Identifier of the zone where the transaction started

IndexInZone int

The 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

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

IndexInZone

The index of the item within in the drop zone

public int IndexInZone { get; init; }

Property Value

int

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

Item T
DropzoneIdentifier string
IndexInZone int

Equals(MudItemDropInfo<T>?)

public virtual bool Equals(MudItemDropInfo<T>? other)

Parameters

other MudItemDropInfo<T>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MudItemDropInfo<T>?, MudItemDropInfo<T>?)

public static bool operator ==(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)

Parameters

left MudItemDropInfo<T>
right MudItemDropInfo<T>

Returns

bool

operator !=(MudItemDropInfo<T>?, MudItemDropInfo<T>?)

public static bool operator !=(MudItemDropInfo<T>? left, MudItemDropInfo<T>? right)

Parameters

left MudItemDropInfo<T>
right MudItemDropInfo<T>

Returns

bool