[]
Initializes a new instance of the Margins class.
public Margins()
Initializes a new instance of the Margins class.
public Margins(float left, float top, float right, float bottom)
Type | Name | Description |
---|---|---|
float | left | The left. |
float | top | The top. |
float | right | The right. |
float | bottom | The bottom. |
_margins = new Margins(1, 1, 1, 1);
Type | Condition |
---|---|
ArgumentException | Left margin value must be greater than |