mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
542b66d383
* feat: refactor tree * feat: refactor tree Co-authored-by: James Yeung <shunjiey@hotmail.com>
23 lines
676 B
C#
23 lines
676 B
C#
using System;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class TreeEventArgs : EventArgs
|
|
{
|
|
public TreeEventArgs() { }
|
|
public TreeEventArgs(Tree tree) { Tree = tree; }
|
|
public TreeEventArgs(Tree tree, TreeNode node) { Tree = tree; Node = node; }
|
|
|
|
public TreeEventArgs(Tree tree, TreeNode node, MouseEventArgs originalEvent) { Tree = tree; Node = node; OriginalEvent = originalEvent; }
|
|
|
|
public Tree Tree { get; set; }
|
|
public TreeNode Node { get; set; }
|
|
|
|
/// <summary>
|
|
/// 原生事件
|
|
/// </summary>
|
|
public MouseEventArgs OriginalEvent { get; set; }
|
|
}
|
|
}
|