public SectionView(Report parentReport,IControlViewFactory controlViewFactory,Section section,Cairo.PointD sectionSpan)
: base(section)
{
DesignCrossSectionControlsToAdd = new List<ControlViewBase> ();
DesignCrossSectionControlsToRemove = new List<ControlViewBase> ();
this.controlViewFactory = controlViewFactory;
this.parentReport = parentReport;
if (section is DetailSection)
AllowCrossSectionControl = false; else {
AllowCrossSectionControl = true;
}
SectionSpan = sectionSpan;
controls = new System.Collections.Generic.List<ControlViewBase> ();
AddControls (this.section.Controls);
SectionGripperColor = sectionHeaderColor1;
InvalidateBound ();
}