public EmailPreviewExample(ListControl listControl, Style style)
            {
                _oldFactory  = listControl.SectionFactory;                // store old factory as we want to leave as we came.
                _listControl = listControl;

                //
                // Replace the current SectionFactory with our override.
                listControl.SectionFactory = new MySectionFactory(style);                   //
                _listControl.LayoutSections();
            }
            public RowOverrideExample(ListControl listControl)
            {
                _oldFactory  = listControl.SectionFactory;                // store old factory as we want to leave as we came.
                _listControl = listControl;

                //
                // Replace the current SectionFactory with our override.
                listControl.SectionFactory = new MySectionFactory();                 //
                _listControl.LayoutSections();
            }