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