Class FocusChangedEventArgs
- Namespace
- nanoFramework.UI.Input
- Assembly
- nanoFramework.Graphics.dll
The FocusChangedEventArgs class contains information about focus states
public class FocusChangedEventArgs : InputEventArgs
- Inheritance
-
FocusChangedEventArgs
- Inherited Members
- Extension Methods
Constructors
FocusChangedEventArgs(ButtonDevice, DateTime, UIElement, UIElement)
Constructs an instance of the FocusChangedEventArgs class.
public FocusChangedEventArgs(ButtonDevice buttonDevice, DateTime timestamp, UIElement oldFocus, UIElement newFocus)
Parameters
buttonDeviceButtonDeviceThe logical button device associated with this event.
timestampDateTimeThe time when the input occured.
oldFocusUIElementThe element that previously had focus.
newFocusUIElementThe element that now has focus.
Fields
NewFocus
The element that now has focus.
public readonly UIElement NewFocus
Field Value
OldFocus
The element that previously had focus.
public readonly UIElement OldFocus