KeyboardFocusChangedEventArgs Constructor (KeyboardDevice^, Int32, IInputElement^, IInputElement^)

 

Initializes a new instance of the KeyboardFocusChangedEventArgs class.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
KeyboardFocusChangedEventArgs(
	KeyboardDevice^ keyboard,
	int timestamp,
	IInputElement^ oldFocus,
	IInputElement^ newFocus
)

Parameters

keyboard
Type: System.Windows.Input::KeyboardDevice^

The logical keyboard device associated with this event.

timestamp
Type: System::Int32

The time when the input occurred.

oldFocus
Type: System.Windows::IInputElement^

The element that previously had focus.

newFocus
Type: System.Windows::IInputElement^

The element that now has focus.

.NET Framework
Available since 3.0
Return to top
Show: