tags:

views:

35

answers:

2

I would need to draw lots of WPF-paths. I have set them to children of canvas. Problems is that events are tunneled to path-objects. That slows down the performance. I know overriding preview-method fix the problem, but do I really have to override all preview-methods..

+1  A: 

I think you can catch the event in the Canvas and set e.Handled to true.

eWolf
A: 

I found solution. I set path objects's IsHitTestVisible-property to false. Now they doesn't slow down the performance.

vrj