Struct Margin
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
Represents spacing around a control's content.
public struct Margin
- Inherited Members
Constructors
Margin(int, int, int, int)
Initializes a new instance of the Margin struct.
public Margin(int left, int top, int right, int bottom)
Parameters
leftintThe left margin in characters.
topintThe top margin in lines.
rightintThe right margin in characters.
bottomintThe bottom margin in lines.
Properties
Bottom
Gets or sets the bottom margin in lines.
public int Bottom { readonly get; set; }
Property Value
Left
Gets or sets the left margin in characters.
public int Left { readonly get; set; }
Property Value
Right
Gets or sets the right margin in characters.
public int Right { readonly get; set; }
Property Value
Top
Gets or sets the top margin in lines.
public int Top { readonly get; set; }