FocusChangedEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the FocusChangedEventArgs class.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
buttonDevice As ButtonDevice, _
timestamp As DateTime, _
oldFocus As UIElement, _
newFocus As UIElement _
)
public FocusChangedEventArgs(
ButtonDevice buttonDevice,
DateTime timestamp,
UIElement oldFocus,
UIElement newFocus
)
public:
FocusChangedEventArgs(
ButtonDevice^ buttonDevice,
DateTime timestamp,
UIElement^ oldFocus,
UIElement^ newFocus
)
new :
buttonDevice:ButtonDevice *
timestamp:DateTime *
oldFocus:UIElement *
newFocus:UIElement -> FocusChangedEventArgs
public function FocusChangedEventArgs(
buttonDevice : ButtonDevice,
timestamp : DateTime,
oldFocus : UIElement,
newFocus : UIElement
)
Parameters
- buttonDevice
Type: Microsoft.SPOT.Input. . :: . .ButtonDevice
The button device that generated the input.
- timestamp
Type: System. . :: . .DateTime
The time period during which the input was received.
- oldFocus
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The display element that last had the button focus.
- newFocus
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The display element that currently has the button focus.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.