internal override UiaCore.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { if (!_owningPropertyGrid.IsHandleCreated) { return(null); } Point clientPoint = _owningPropertyGrid.PointToClient(new Point((int)x, (int)y)); Control element = _owningPropertyGrid.GetElementFromPoint(clientPoint); if (element is not null) { return(element.AccessibilityObject); } return(base.ElementProviderFromPoint(x, y)); }