MSDN > Home page del forum > Windows Presentation Foundation (WPF) > Executing Commands from *any* event
Formula una domandaFormula una domanda
 

Con rispostaExecuting Commands from *any* event

  • venerdì 4 agosto 2006 13.37wpf michelle Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    I understand that commands can be triggered off certain events of certain controls.   For example, specifying  a Command for a Button will trigger it off the Click event.  But what if I wanted to trigger a command off of a different event -- like a Load event?  Is there a way to do this at all?  If so, can I do it from XAML only?

Risposte

Tutte le risposte