SpreadsheetGear 2017
GotKeyboardFocus Event (HorizontalScrollbarsPresenter)






SpreadsheetGear.Windows.Controls Namespace > HorizontalScrollbarsPresenter Class : GotKeyboardFocus Event
Syntax
'Declaration
 
Public Event GotKeyboardFocus As System.Windows.Input.KeyboardFocusChangedEventHandler
'Usage
 
Dim instance As HorizontalScrollbarsPresenter
Dim handler As System.Windows.Input.KeyboardFocusChangedEventHandler
 
AddHandler instance.GotKeyboardFocus, handler
public event System.Windows.Input.KeyboardFocusChangedEventHandler GotKeyboardFocus
public event GotKeyboardFocus: 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* GotKeyboardFocus
public:
event System.Windows.Input.KeyboardFocusChangedEventHandler^ GotKeyboardFocus
Event Data

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.

PropertyDescription
(Inherited from System.Windows.Input.InputEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.Input.KeyboardEventArgs)
Gets the element that focus has moved to.  
Gets the element that previously had focus.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.Input.InputEventArgs)
Requirements

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

See Also