SpreadsheetGear.Windows.Controls Namespace > Spinner Class : LostKeyboardFocus Event |
'Declaration
Public Event LostKeyboardFocus As System.Windows.Input.KeyboardFocusChangedEventHandler
'Usage
Dim instance As Spinner Dim handler As System.Windows.Input.KeyboardFocusChangedEventHandler AddHandler instance.LostKeyboardFocus, handler
public event System.Windows.Input.KeyboardFocusChangedEventHandler LostKeyboardFocus
public event LostKeyboardFocus: System.Windows.Input.KeyboardFocusChangedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.KeyboardFocusChangedEventHandler* LostKeyboardFocus
public: event System.Windows.Input.KeyboardFocusChangedEventHandler^ LostKeyboardFocus
The event handler receives an argument of type System.Windows.Input.KeyboardFocusChangedEventArgs containing data related to this event. The following KeyboardFocusChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
KeyboardDevice | (Inherited from System.Windows.Input.KeyboardEventArgs) |
NewFocus | Gets the element that focus has moved to. |
OldFocus | Gets the element that previously had focus. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
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