Table of Contents

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

left int

The left margin in characters.

top int

The top margin in lines.

right int

The right margin in characters.

bottom int

The bottom margin in lines.

Properties

Bottom

Gets or sets the bottom margin in lines.

public int Bottom { readonly get; set; }

Property Value

int

Left

Gets or sets the left margin in characters.

public int Left { readonly get; set; }

Property Value

int

Right

Gets or sets the right margin in characters.

public int Right { readonly get; set; }

Property Value

int

Top

Gets or sets the top margin in lines.

public int Top { readonly get; set; }

Property Value

int