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