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
- x
Type: System. . :: . .Int32%
The current element's horizontal offset.
- y
Type: System. . :: . .Int32%
The current element's vertical offset.
.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.