Example #1
0
 /// <summary>
 /// Assigns values from another source.
 /// </summary>
 /// <param name="source">Source to assign from.</param>
 public void Assign(BandColumns source)
 {
     Count       = source.Count;
     Width       = source.Width;
     Layout      = source.Layout;
     MinRowCount = source.MinRowCount;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     bands          = new BandCollection(this);
     sort           = new SortCollection();
     filter         = "";
     columns        = new BandColumns(this);
     idColumn       = "";
     parentIdColumn = "";
     indent         = 37.8f;
     rowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBand"/> class.
 /// </summary>
 public DataBand()
 {
     FBands          = new BandCollection(this);
     FSort           = new SortCollection();
     FFilter         = "";
     FColumns        = new BandColumns(this);
     FIdColumn       = "";
     FParentIdColumn = "";
     FIndent         = 37.8f;
     FRowCount       = 1;
     SetFlags(Flags.HasSmartTag, true);
 }
Example #4
0
 internal void Serialize(FRWriter writer, BandColumns c)
 {
     if (Count != c.Count)
     {
         writer.WriteInt("Columns.Count", Count);
     }
     if (Width != c.Width)
     {
         writer.WriteFloat("Columns.Width", Width);
     }
     if (Layout != c.Layout)
     {
         writer.WriteValue("Columns.Layout", Layout);
     }
     if (MinRowCount != c.MinRowCount)
     {
         writer.WriteInt("Columns.MinRowCount", MinRowCount);
     }
 }