struct Box

Parents

System.ValueType

Brief

The structure for storing top, left, right, and bottom side values, can be used for describing margins and paddings.

Public Properties

Bottom

The bottom side value.

Horizontal

The sum of the left side and right side values.

Left

The left side value.

Right

The right side value.

Top

The top side value.

Vertical

The sum of the top side and bottom side values.

Public Constructors

Box

A constructor (zero values).

Box

A constructor (one value for all sides).

Box

A constructor (one value for the horizontal sides, another value for the vertical sides).

Box

A constructor (values for the top, right, left, and bottom sides).

back