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