Table of Contents

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 ButtonDevice

The logical button device associated with this event.

timestamp DateTime

The time when the input occured.

oldFocus UIElement

The element that previously had focus.

newFocus UIElement

The element that now has focus.

Fields

NewFocus

The element that now has focus.

public readonly UIElement NewFocus

Field Value

UIElement

OldFocus

The element that previously had focus.

public readonly UIElement OldFocus

Field Value

UIElement