GetMargin Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the width of the current element's margins.

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

Syntax

'Declaration
Public Sub GetMargin ( _
    <OutAttribute> ByRef left As Integer, _
    <OutAttribute> ByRef top As Integer, _
    <OutAttribute> ByRef right As Integer, _
    <OutAttribute> ByRef bottom As Integer _
)
public void GetMargin(
    out int left,
    out int top,
    out int right,
    out int bottom
)
public:
void GetMargin(
    [OutAttribute] int% left, 
    [OutAttribute] int% top, 
    [OutAttribute] int% right, 
    [OutAttribute] int% bottom
)
member GetMargin : 
        left:int byref * 
        top:int byref * 
        right:int byref * 
        bottom:int byref -> unit 
public function GetMargin(
    left : int, 
    top : int, 
    right : int, 
    bottom : int
)

Parameters

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace