Example #1
0
 public Section(string caption, Color backgroundColor, Color textColor)
     : base(caption)
 {
     Adapter         = new SectionAdapter(this);
     BackgroundColor = backgroundColor;
     TextColor       = textColor;
 }
Example #2
0
 /// <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;
 }
Example #3
0
 /// <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);
 }
Example #4
0
 /// <summary>
 ///  Constructs a Section without header or footers.
 /// </summary>
 public Section() : this("")
 {
     Adapter = new SectionAdapter(this);
 }