27 references to Events
PresentationFramework (27)
System\Windows\Window.cs (27)
1651add { Events.AddHandler(EVENT_SOURCEINITIALIZED, value); } 1652remove { Events.RemoveHandler(EVENT_SOURCEINITIALIZED, value); } 1669add { Events.AddHandler(EVENT_ACTIVATED, value); } 1670remove { Events.RemoveHandler(EVENT_ACTIVATED, value); } 1678add { Events.AddHandler(EVENT_DEACTIVATED, value); } 1679remove { Events.RemoveHandler(EVENT_DEACTIVATED, value); } 1687add { Events.AddHandler(EVENT_STATECHANGED, value); } 1688remove { Events.RemoveHandler(EVENT_STATECHANGED, value); } 1696add { Events.AddHandler(EVENT_LOCATIONCHANGED, value); } 1697remove { Events.RemoveHandler(EVENT_LOCATIONCHANGED, value); } 1710add { Events.AddHandler(EVENT_CLOSING, value); } 1711remove { Events.RemoveHandler(EVENT_CLOSING, value); } 1719add { Events.AddHandler(EVENT_CLOSED, value); } 1720remove { Events.RemoveHandler(EVENT_CLOSED, value); } 1728add { Events.AddHandler(EVENT_CONTENTRENDERED, value); } 1729remove { Events.RemoveHandler(EVENT_CONTENTRENDERED, value); } 1755add { Events.AddHandler(EVENT_VISUALCHILDRENCHANGED, value); } 1756remove { Events.RemoveHandler(EVENT_VISUALCHILDRENCHANGED, value); } 1986EventHandler handler = (EventHandler)Events[EVENT_SOURCEINITIALIZED]; 2004EventHandler handler = (EventHandler)Events[EVENT_ACTIVATED]; 2021EventHandler handler = (EventHandler)Events[EVENT_DEACTIVATED]; 2038EventHandler handler = (EventHandler)Events[EVENT_STATECHANGED]; 2055EventHandler handler = (EventHandler)Events[EVENT_LOCATIONCHANGED]; 2073CancelEventHandler handler = (CancelEventHandler)Events[EVENT_CLOSING]; 2090EventHandler handler = (EventHandler)Events[EVENT_CLOSED]; 2112EventHandler handler = (EventHandler)Events[EVENT_CONTENTRENDERED]; 2133var handler = Events[EVENT_VISUALCHILDRENCHANGED] as EventHandler<EventArgs>;