private void barCopyEstrutura_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (gridView1.IsSelectOneRowWarning()) { var dash = gridView1.GetFocusedRow <DashboardImage>(); ReportUtil.DuplicateDashboard(dash); } }