Share via


Canvas.GetTop Method

Retrieves the row number of the top of the rectangular area that contains a specified child element.

Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public static int GetTop (
         UIElemente
)

Parameters

  • e
    The child element for which the top row number in the containing area is to be retrieved.

Return Value

The row number of the top of the area that contains the specified child element.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Canvas Class
Canvas Members
Microsoft.SPOT.Presentation.Controls Namespace