Search Results for

    Show / Hide Table of Contents

    Class FocusChangedEventArgs

    The FocusChangedEventArgs class contains information about focus states

    Inheritance
    object
    EventArgs
    RoutedEventArgs
    InputEventArgs
    FocusChangedEventArgs
    Inherited Members
    InputEventArgs.Timestamp
    InputEventArgs.Device
    RoutedEventArgs.OnSetSource(object)
    RoutedEventArgs.RoutedEvent
    RoutedEventArgs.Handled
    RoutedEventArgs.Source
    RoutedEventArgs.OriginalSource
    EventArgs.Empty
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX