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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -