mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-23 04:52:22 +00:00
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using MudBlazor;
|
|
|
|
namespace Lantean.QBTMud.Components.UI
|
|
{
|
|
public class TableDataLongPressEventArgs<T> : EventArgs
|
|
{
|
|
//
|
|
// Summary:
|
|
// The coordinates of the click.
|
|
public LongPressEventArgs LongPressEventArgs { get; }
|
|
|
|
//
|
|
// Summary:
|
|
// The row which was clicked.
|
|
public MudTd Data { get; }
|
|
|
|
//
|
|
// Summary:
|
|
// The data related to the row which was clicked.
|
|
public T? Item { get; }
|
|
|
|
//
|
|
// Summary:
|
|
// Creates a new instance.
|
|
//
|
|
// Parameters:
|
|
// mouseEventArgs:
|
|
// The coordinates of the click.
|
|
//
|
|
// row:
|
|
// The row which was context-clicked.
|
|
//
|
|
// item:
|
|
// The data related to the row which was context-clicked.
|
|
public TableDataLongPressEventArgs(LongPressEventArgs longPressEventArgs, MudTd data, T? item)
|
|
{
|
|
LongPressEventArgs = longPressEventArgs;
|
|
Data = data;
|
|
Item = item;
|
|
}
|
|
}
|
|
} |