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); }
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(); }