c# - Create Event in WPF -


i want rise event zoom in , zoom out image once gesture recognized valid (gesture recognized kinect). image shown in different user control loaded in frame present in main window.

<frame name="currentframe" navigationuivisibility="hidden"></frame> 

and frame source set this.

 currentframe.source = new uri("images.xaml", urikind.relativeorabsolute); 

how can create custom event? , 1 best ? tunnel or bubble?

i think in case it's better use tunel event, need immediate feedback user interaction , execute single action on that: zooming. there no sence of notifying other controls between usecontrol canvas (if any) , actual handling code.

for concrete implementation of event, can have on:

routed events


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -