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
buttonDevice
ButtonDeviceThe logical button device associated with this event.
timestamp
DateTimeThe time when the input occured.
oldFocus
UIElementThe element that previously had focus.
newFocus
UIElementThe 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