Capture Method (UIElement)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Captures touch or stylus events from a specified element.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Shared Function Capture ( _
element As UIElement _
) As Boolean
public static bool Capture(
UIElement element
)
public:
static bool Capture(
UIElement^ element
)
static member Capture :
element:UIElement -> bool
public static function Capture(
element : UIElement
) : boolean
Parameters
- element
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The element to capture touch or stylus events from.
Return Value
Type: System. . :: . .Boolean
true if successful; otherwise, false.
.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.