Windows Vista Forums

Fire events from Xaml files.. events in Pre compiled Dll's
  1. #1


    SureshGubba Guest

    Fire events from Xaml files.. events in Pre compiled Dll's

    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
    ...




      My System SpecsSystem Spec

  2. #2


    bruce.abernethy@gmail.com 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
    > ..



      My System SpecsSystem Spec

Fire events from Xaml files.. events in Pre compiled Dll's problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online calendar events showing up as Private events? Scott Live Mail 0 13 Jan 2010
How To Clear Administrative Events Log - Events Viewer ColTom2 Vista General 1 20 Nov 2009
type not defined when wiring events in xaml Westy Avalon 1 23 Jan 2008
COM events? Duncan Smith PowerShell 0 17 Jul 2007
Events Fil PowerShell 3 23 Nov 2006