Buttons.Focus Method
Moves the button focus to a specified display element.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public static UIElement Focus (
UIElementelement
)
Parameters
- element
A UIElement object specifying the display element to which you want to move the button focus.
Return Value
A UIElement object specifying the display element that currently has the button focus.
Remarks
Button focus refers to state of the display element that is currently receiving input from a button device. At any specific point in time, there can be only one element on a button device's display that has the button focus. In Windows Presentation Foundation (WPF), the display element with the current button focus has its UIElement.IsFocused Property property set to true.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
Buttons Class
Buttons Members
Microsoft.SPOT.Input Namespace