Suppose we have a WPF element, for instance StackPanel with Buttons, Textboxes etc. inside. Is there any way to say directly in XAML that I want a tunneling strategy?
<StackPanel RoutinStrategy="Tunneling" ...
Suppose we have a WPF element, for instance StackPanel with Buttons, Textboxes etc. inside. Is there any way to say directly in XAML that I want a tunneling strategy?
<StackPanel RoutinStrategy="Tunneling" ...
No - the strategy is defined at the event level. By convention, events prefixed with "Preview" are tunneling, whilst their counterparts are bubbling.
HTH, Kent