Rectangle () { RadPropertyTable component = (RadPropertyTable)myComponent; int selectedRow = component.getSelectedRow(); if (selectedRow < 0 || selectedRow >= component.getRowCount()) { return null; } Rectangle rowRect = component.getCellRect(selectedRow, 0, true); Rectangle visibleRect = myComponent.getVisibleRect(); if (visibleRect.intersects(rowRect)) { return visibleRect.intersection(rowRect); } return null; }