public override Control CreateControl()
        {
            GroupHeaderSection gs = new GroupHeaderSection();

            CopyTo(gs);
            return(gs);
        }
 public override Control CreateControl()
 {
     GroupHeaderSection gs = new GroupHeaderSection();
     CopyTo(gs);
     return gs;
 }
Exemple #3
0
 public void AddGroup(Group gr)
 {
     Groups.Add (gr);
     GroupHeaderSection gh = new GroupHeaderSection { Name = Catalog.GetString("Group header ") + gr.ExpressionFieledName, Size = new Model.Size (Width, 20), Location = new Point (0, 150) };
     GroupHeaderSections.Add (gh);
     GroupFooterSection gf = new GroupFooterSection { Name = Catalog.GetString("Group footer ") + gr.ExpressionFieledName, Size = new Model.Size(Width, 20), Location = new Point(0, 250) };
     GroupFooterSections.Add (gf);
 }
Exemple #4
0
 public void AddGroup(string fieldName)
 {
     Group gr = new Group { GroupingFieldName = fieldName };
     Groups.Add (gr);
     GroupHeaderSection gh = new GroupHeaderSection { Name = "Group header " + gr.GroupingFieldName, Size = new Model.Size (Width, 20), Location = new Point (0, 150) };
     GroupHeaderSections.Add (gh);
     GroupFooterSection gf = new GroupFooterSection { Name = "Group footer " + gr.GroupingFieldName, Size = new Model.Size (Width, 20), Location = new Point (0, 250) };
     GroupFooterSections.Add (gf);
 }