object GetFocusedRowObject(DevExpress.ExpressApp.Win.Editors.XafGridView view) { if (view is XpandXafGridView && ((XpandXafGridView)view).Window == null) return XtraGridUtils.GetFocusedRowObject(_collectionSourceBase, view); int rowHandle = view.FocusedRowHandle; if (!((!view.IsDataRow(rowHandle) && !view.IsNewItemRow(rowHandle)))) return view.GetRow(rowHandle); return XtraGridUtils.GetFocusedRowObject(_collectionSourceBase, view); }
object GetFocusedRowObject(DevExpress.XtraGrid.Views.Base.ColumnView view) { if (((IMasterDetailColumnView) view).Window == null) return XtraGridUtils.GetFocusedRowObject(CollectionSource, view); int rowHandle = view.FocusedRowHandle; if (!((!view.IsDataRow(rowHandle) && !view.IsNewItemRow(rowHandle)))) return XtraGridUtils.GetFocusedRowObject(view); return XtraGridUtils.GetFocusedRowObject(CollectionSource, view); }