Share via


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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace