mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-11-03 05:23:17 +00:00
Update project name and namespaces
This commit is contained in:
43
Lantean.QBTMud/Components/UI/TableDataLongPressEventArgs.cs
Normal file
43
Lantean.QBTMud/Components/UI/TableDataLongPressEventArgs.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using Lantean.QBTMud.EventHandlers;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user