Exemplo n.º 1
0
 public GridViewInfo(GridViewTemplate ownerTemplate)
 {
     this.ownerTemplate = ownerTemplate;
     this.pinnedRows    = new GridViewPinnedRowCollection(this);
     this.summaryRows   = new GridViewSummaryRowCollection((IList <GridViewSummaryRowInfo>) new List <GridViewSummaryRowInfo>());
     this.systemRows    = new GridViewSystemRowCollection(this);
     this.childRows     = new GridViewChildRowCollection();
     this.ownerTemplate.PropertyChanged += new PropertyChangedEventHandler(this.OnTemplatePropertyChanged);
 }
Exemplo n.º 2
0
 public GridViewGroupRowInfo(GridViewInfo gridViewInfo, DataGroup dataGroup)
     : base(gridViewInfo)
 {
     this.topSummaryRowSource    = new List <GridViewSummaryRowInfo>();
     this.topSummaryRows         = new GridViewSummaryRowCollection((IList <GridViewSummaryRowInfo>) this.topSummaryRowSource);
     this.bottomSummaryRowSource = new List <GridViewSummaryRowInfo>();
     this.bottomSummaryRows      = new GridViewSummaryRowCollection((IList <GridViewSummaryRowInfo>) this.bottomSummaryRowSource);
     this.ownerGroup             = dataGroup;
     this.childRows = new GridViewChildRowCollection();
 }