Source/AdvTree/Events/MarkupLinkClickEventArgs.cs

(完整代码) 1007B

using System;

namespace DevComponents.AdvTree
{
	/// <summary>
	/// Provides more information about MarkupLinkClick event.
	/// </summary>
	public class MarkupLinkClickEventArgs : EventArgs
	{
		/// <summary>
		/// Gets the value of href attribute from the markup link that was clicked.
		/// </summary>
		public readonly string HRef = "";

		/// <summary>
		/// Gets the value of name attribute from the markup link that was clicked.
		/// </summary>
		public readonly string Name = "";

		/// <summary>
		/// Creates new instance of the object.
		/// </summary>
		/// <param name="name">Value of name attribute.</param>
		/// <param name="href">Value of href attribute.</param>
		public MarkupLinkClickEventArgs(string name, string href)
		{
			this.HRef = href;
			this.Name = name;
		}
	}

	/// <summary>
	/// Defines delegate for MarkupLinkClick event.
	/// </summary>
	public delegate void MarkupLinkClickEventHandler(object sender, MarkupLinkClickEventArgs e);
}

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

AI 解读 AI

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

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