// Token: 0x060025E8 RID: 9704 RVA: 0x000B5824 File Offset: 0x000B3A24
 protected override AutomationPeer GetPeerFromPointCore(Point point)
 {
     if (!base.IsOffscreen())
     {
         AutomationPeer rowHeaderAutomationPeer = this.RowHeaderAutomationPeer;
         if (rowHeaderAutomationPeer != null)
         {
             AutomationPeer peerFromPoint = rowHeaderAutomationPeer.GetPeerFromPoint(point);
             if (peerFromPoint != null)
             {
                 return(peerFromPoint);
             }
         }
     }
     return(base.GetPeerFromPointCore(point));
 }
        protected override AutomationPeer GetPeerFromPointCore(Point point)
        {
            if (!IsOffscreen())
            {
                AutomationPeer rowHeaderAutomationPeer = RowHeaderAutomationPeer;
                if (rowHeaderAutomationPeer != null)
                {
                    // Check DataGridRowHeader first
                    AutomationPeer found = rowHeaderAutomationPeer.GetPeerFromPoint(point);
                    if (found != null)
                    {
                        return(found);
                    }
                }
            }

            return(base.GetPeerFromPointCore(point));
        }