'Declaration
Public Event LostFocus As System.Windows.RoutedEventHandler
'Usage
Dim instance As ColumnHeader Dim handler As System.Windows.RoutedEventHandler AddHandler instance.LostFocus, handler
public event System.Windows.RoutedEventHandler LostFocus
public event LostFocus: System.Windows.RoutedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.RoutedEventHandler* LostFocus
public: event System.Windows.RoutedEventHandler^ LostFocus
The event handler receives an argument of type System.Windows.RoutedEventArgs containing data related to this event. The following RoutedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. |
RoutedEvent | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. |
Source | Gets or sets a reference to the object that raised the event. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2