UIElement.GetLayoutOffset Method
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
public void GetLayoutOffset (
ref intx,
ref inty
)
Parameters
- x
[OutAttribute] The current element's horizontal offset. - y
[OutAttribute] The current element's vertical offset.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace