Quantcast
Channel: HitTest Custom Control
Viewing all articles
Browse latest Browse all 5

HitTest Custom Control

$
0
0
What I generate in OnRender, is it added as a visual child on my FrameworkElement?
If I draw with OnRender, the HitTesting will return my FrameworkElement. But if I manage a collection of visual children, the HitTest will return also the visual children. If I'm creating a class that inherits from FrameworkElement, is there a way to forbid HitTest from accessing my visual children? Instead, I would like that HitTest returned always my FrameworkElement.

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images