<p>Is there a way with WPF to get an array of elements under the mouse on a MouseMove event?</p>

[{'answer_id': 45817, 'author': 'Espo', 'author_id': 2257, 'author_profile': 'https://Stackoverflow.com/users/2257', 'pm_score': 2, 'selected': False, 'text': '<p>Can you use the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.visualtreehelper.hittest.aspx" rel="nofollow noreferrer">VisualTreeHelper.HitTest</a> ?</p>\n\n<p><a href="http://lukieb.blogspot.com/2008/07/visualtreehelperhittest.html" rel="nofollow noreferrer">http://lukieb.blogspot.com/2008/07/visualtreehelperhittest.html</a></p>\n'}, {'answer_id': 46920, 'author': 'Andy', 'author_id': 3857, 'author_profile': 'https://Stackoverflow.com/users/3857', 'pm_score': 6, 'selected': False, 'text': '<p>You can also try using the Mouse.DirectlyOver property to get the top-most element that is under the mouse.</p>\n'}, {'answer_id': 182363, 'author': 'David Schmitt', 'author_id': 4918, 'author_profile': 'https://Stackoverflow.com/users/4918', 'pm_score': 6, 'selected': True, 'text': '<p>From &quot;<a href="https://web.archive.org/web/20081205070201/http://adamnathan.net/wpf/" rel="nofollow noreferrer">WPF Unleashed</a>&quot;, page 383:</p>\n<blockquote>\n<p>Visual hit testing can inform you\nabout <em>all</em> <code>Visual</code>s that intersect a\nlocation, [...] you must use [...] the\n<code>[VisualTreeHelper.]HitTest</code> method that accepts a\n<code>HitTestResultCallback</code> delegate. Before\nthis version of <code>HitTest</code> returns, the\ndelegate is invoked once for each\nrelevant <code>Visual</code>, starting from the\ntopmost and ending at the bottommost.</p>\n</blockquote>\n<p>The signature of such a callback is</p>\n<pre><code>HitTestResultBehavior Callback(HitTestResult result)\n</code></pre>\n<p>and it has to return <code>HitTestResultBehaviour.Continue</code> to receive further hits, as shown below (from the linked page on MSDN):</p>\n<pre><code>// Return the result of the hit test to the callback.\npublic HitTestResultBehavior MyHitTestResult(HitTestResult result)\n{\n    // Add the hit test result to the list that will be processed after the enumeration.\n    hitResultsList.Add(result.VisualHit);\n\n    // Set the behavior to return visuals at all z-order levels.\n    return HitTestResultBehavior.Continue;\n}\n</code></pre>\n<p>For further information, please consult the <a href="https://msdn.microsoft.com/en-us/library/ms608753(v=vs.110).aspx" rel="nofollow noreferrer">MSDN documentation for <code>VisualTreeHelper.HitTest</code></a>.</p>\n'}]
['https://Stackoverflow.com/questions/45813', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3291/']