GetLayoutOffset Method

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

Gets the current element's offset, relative to the upper-left corner of the screen.

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

Syntax

'Declaration
Public Sub GetLayoutOffset ( _
    <OutAttribute> ByRef x As Integer, _
    <OutAttribute> ByRef y As Integer _
)
public void GetLayoutOffset(
    out int x,
    out int y
)
public:
void GetLayoutOffset(
    [OutAttribute] int% x, 
    [OutAttribute] int% y
)
member GetLayoutOffset : 
        x:int byref * 
        y:int byref -> unit 
public function GetLayoutOffset(
    x : int, 
    y : int
)

Parameters

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace