using System; using System.Text; namespace DevComponents.DotNetBar { /// /// Provides more information about MarkupLinkClick event. /// public class MarkupLinkClickEventArgs : EventArgs { /// /// Gets the value of href attribute from the markup link that was clicked. /// public readonly string HRef = ""; /// /// Gets the value of name attribute from the markup link that was clicked. /// public readonly string Name = ""; /// /// Creates new instance of the object. /// /// Value of name attribute. /// Value of href attribute. public MarkupLinkClickEventArgs(string name, string href) { this.HRef = href; this.Name = name; } } /// /// Defines delegate for MarkupLinkClick event. /// public delegate void MarkupLinkClickEventHandler(object sender, MarkupLinkClickEventArgs e); }