HitTest methods are used to determine whether a point or geometry value is within the content of a rendered object like a control or graphic element. Using the ’HitTest’ methods you can determine whether the mouse was clicked within a control and also by overriding the implementation, custom actions can be performed.
Share with