Share via


Canvas.SetTop Method

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

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

Syntax

public static void SetTop (
         UIElement e,
         int top
)

Parameters

  • e
    The child element for which the top row number in the containing area is to be set.
  • top
    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, 4.1, and 4.2.

See Also

Reference

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