ant-design-blazor/components/tree/TreeEventArgs.cs
TimChen 542b66d383 refactor: tree (#672)
* feat: refactor tree

* feat: refactor tree

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 15:13:32 +08:00

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; }
}
}