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 int left,
         ref int top,
         ref int right,
         ref int bottom
)

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, 4.1, and 4.2.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace