![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| Guest | Re: Fire events from Xaml files.. events in Pre compiled Dll's At some level in your app you will have a container Window, Frame, Page that contains the Controls defined in the XAML. You can add a handler to this container for each event that you want to respond to (e.g. AddHandler(Button.ClickEvent, new RoutedEventHandler(ButtonClick)) <- defined in whatever container you are using). This will respond to all events within itself of that type. Sending custom events is a bit more complicated. You'll need to define the event delegate and args somewhere common so everyone is talking the "same language". SureshGubba wrote: > Hi , > > My Requirement is to fire events for controls which are in Xaml files. > There events are to be wired to a precompiled dll which has the events > .. |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| type not defined when wiring events in xaml | Westy | Avalon | 1 | 01-23-2008 06:32 PM |
| COM events? | Duncan Smith | PowerShell | 0 | 07-17-2007 09:20 AM |
| Wmi events | A. Petitjean | PowerShell | 1 | 12-16-2006 12:11 PM |
| Events | Fil | PowerShell | 3 | 11-23-2006 08:28 AM |
| Events, events | Greg Borota | PowerShell | 2 | 07-01-2006 05:38 PM |