/// <summary> /// Constructor /// </summary> /// <param name="header">Header this hyperlink belongs to</param> public Hyperlink(Header header) { _Header = header; // just an anchor by default as usually this is what you want this.URL = "#"; }
/// <summary> /// Detailed constructor /// </summary> /// <param name="writer">HttpResponse object to render the accordion onto</param> /// <param name="owner">Accordions object the panel belongs to</param> /// <param name="title">Title to appear in the accordion panel</param> /// <param name="isActive">Flags whether this panel is the active one</param> public Panel(TextWriter writer, Accordion owner, string title, bool isActive) { this.OnAccordion = owner; this.Header = new Header(this); this._Writer = writer; this.Title = title; this.IsActive = isActive; }