Intersoft ClientUI Documentation
GotKeyboardFocus Event
See Also  Send Feedback
Intersoft.Client.UI.Navigation Namespace > UXTabItem Class : GotKeyboardFocus Event






Occurs when the control receives keyboard focus.

Syntax

Visual Basic (Declaration) 
Public Event GotKeyboardFocus As KeyboardFocusChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As UXTabItem
Dim handler As KeyboardFocusChangedEventHandler
 
AddHandler instance.GotKeyboardFocus, handler
C# 
public event KeyboardFocusChangedEventHandler GotKeyboardFocus
Delphi 
public event GotKeyboardFocus: KeyboardFocusChangedEventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event KeyboardFocusChangedEventHandler* GotKeyboardFocus
C++/CLI 
public:
event KeyboardFocusChangedEventHandler^ GotKeyboardFocus

Event Data

The event handler receives an argument of type KeyboardFocusChangedEventArgs containing data related to this event. The following KeyboardFocusChangedEventArgs properties provide information specific to this event.

PropertyDescription
Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
NewFocus Gets the UIElement that recently receives focus.
OldFocus Gets the UIElement that just lose its focus.
OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a reference to the object that raised the event.
Timestamp Gets the time stamp when the event occurs.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.