UIElement.SetMargin Method (Int32)

Sets the size of the current element's margin, using the same (specified) width for each of the four sides of the element.

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

Syntax

public void SetMargin (
         intlength
)

Parameters

  • length
    The width of the margin on all four sides of the element.

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