Source/AdvTree/TreeDragDropEventArgs.cs

(完整代码) 733B

using System;

namespace DevComponents.AdvTree
{
	/// <summary>
	/// Represents event arguments for BeforeNodeDrop and AfterNodeDrop events
	/// </summary>
	public class TreeDragDropEventArgs : AdvTreeNodeCancelEventArgs
	{
		public TreeDragDropEventArgs(eTreeAction action, Node node, Node oldParentNode, Node newParentNode):base(action,node)
		{
			this.NewParentNode = newParentNode;
			this.OldParentNode = oldParentNode;
		}
		
		/// <summary>
		/// Returns reference to the old parent node.
		/// </summary>
		public readonly Node OldParentNode=null;
		
		/// <summary>
		/// Reference to the new parent node if event is not cancelled.
		/// </summary>
		public readonly Node NewParentNode=null;
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。