UIElement.GetMargin Method

Gets the width of the current element's margins.

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

Syntax

public void GetMargin (
         ref intleft,
         ref inttop,
         ref intright,
         ref intbottom
)

Parameters

  • left
    [OutAttribute] The width of the current element's left margin.
  • top
    [OutAttribute] The width of the current element's top margin.
  • right
    [OutAttribute] The width of the current element's right margin.
  • bottom
    [OutAttribute] The width of the current element's bottom margin.

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