PreviewGotKeyboardFocus Event
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > K2ErrorBalloon Class : PreviewGotKeyboardFocus Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Event PreviewGotKeyboardFocus As KeyboardFocusChangedEventHandler
Visual Basic (Usage) Copy Code
Dim instance As K2ErrorBalloon
Dim handler As KeyboardFocusChangedEventHandler
 
AddHandler instance.PreviewGotKeyboardFocus, handler
C#  
public event KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus
C++/CLI  
public:
event KeyboardFocusChangedEventHandler^ PreviewGotKeyboardFocus

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.

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)  

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