UIElement.SetMargin Method (Int32, Int32, Int32, Int32)
Sets the size of the current element's margin, using a 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 (
int left,
int top,
int right,
int bottom
)
Parameters
- left
The width of the left margin. - top
The width of the top margin. - right
The width of the right margin. - bottom
The width of the 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