public static MyReportBase ConvertReportToMyReportBase(this XtraReport report)
        {
            if (report == null)
            {
                return(null);
            }

            // return, do not convert if input is already myReportBase
            var convertReportToMyReportBase = report as MyReportBase;

            if (convertReportToMyReportBase != null)
            {
                return(convertReportToMyReportBase);
            }

            return(report.CloneLayoutAsMyReportBase());
        }