FocusChangedEventArgs Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides data for an event that occurs when an input device's button focus moves to a different display element.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT. . :: . .EventArgs
    Microsoft.SPOT. . :: . .RoutedEventArgs
      Microsoft.SPOT.Input. . :: . .InputEventArgs
        Microsoft.SPOT.Input..::..FocusChangedEventArgs

Namespace:  Microsoft.SPOT.Input
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Class FocusChangedEventArgs _
    Inherits InputEventArgs
public class FocusChangedEventArgs : InputEventArgs
public ref class FocusChangedEventArgs : public InputEventArgs
type FocusChangedEventArgs =  
    class
        inherit InputEventArgs
    end
public class FocusChangedEventArgs extends InputEventArgs

The FocusChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method FocusChangedEventArgs Initializes a new instance of the FocusChangedEventArgs class.

Top

Properties

  Name Description
Public property Device Gets the device that generated the input. (Inherited from InputEventArgs.)
Public property Handled Gets or sets a value that indicates the present state of the event handling for a particular routed event as it travels the route. (Inherited from RoutedEventArgs.)
Public property OriginalSource Gets the original object that raised the current routed event. (Inherited from RoutedEventArgs.)
Public property RoutedEvent Gets or sets a routed event. (Inherited from RoutedEventArgs.)
Public property Source Gets or sets a reference to the object that raised the current routed event. (Inherited from RoutedEventArgs.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSetSource Provides a notification callback entry point whenever the value of the Source property of an object changes. (Inherited from RoutedEventArgs.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field NewFocus Specifies the display element that currently has the button focus.
Public field OldFocus Specifies the display element that last had the button focus.
Public field Timestamp Specifies the time period during which the input was received. (Inherited from InputEventArgs.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Input Namespace