private void btnExportEstrutura_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var reports = gridView1.GetSelectedItens <ReportImage>(); if (reports.Count > 1) { ReportUtil.ExportReportList(reports); } else { if (gridView1.IsSelectOneRowWarning()) { var rpt = gridView1.GetFocusedRow <ReportImage>(); //encapsulado ReportUtil.ExportReport(rpt); } } }