Share via


Capture Method (UIElement, CaptureMode)

[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, _
    mode As CaptureMode _
) As Boolean
public static bool Capture(
    UIElement element,
    CaptureMode mode
)
public:
static bool Capture(
    UIElement^ element, 
    CaptureMode mode
)
static member Capture : 
        element:UIElement * 
        mode:CaptureMode -> bool 
public static function Capture(
    element : UIElement, 
    mode : CaptureMode
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if successful; otherwise, false.

.NET Framework Security

See Also

Reference

TouchCapture Class

Capture Overload

Microsoft.SPOT.Input Namespace