public Section(string caption, Color backgroundColor, Color textColor) : base(caption) { Adapter = new SectionAdapter(this); BackgroundColor = backgroundColor; TextColor = textColor; }
/// <summary> /// Constructs a Section with the specified header /// </summary> /// <param name="caption"> /// The header to display /// </param> public Section(string caption) : base(caption) { Adapter = new SectionAdapter(this); BackgroundColor = Color.DarkRed; TextColor = Color.White; }
/// <summary> /// Constructs a Section with the specified header /// </summary> /// <param name="caption"> /// The header to display /// </param> public Section(string caption) : base(caption) { Adapter = new SectionAdapter(this); }
/// <summary> /// Constructs a Section without header or footers. /// </summary> public Section() : this("") { Adapter = new SectionAdapter(this); }