That sample hit tests visuals as a whole, it doesn't return the geometry inside the visual. Perhaps this is a more appropiate sample: http://msdn.microsoft.com/en-us/library/ms750584.aspx