Skip to main content
Tab

Margins Constructors

Contains margin settings.
Name Parameters Description
Margins() none Initializes a new instance of the Margins class.
Margins(Unit, Unit, Unit, Unit, Unit) margin, marginLeft, marginTop, marginRight, marginBottom Initializes a new instance of the Margins class with the specified margin values for all the edges.
Margins(Unit, Unit, Unit, Unit) marginLeft, marginTop, marginRight, marginBottom Initializes a new instance of the Margins class with the specified margin values for the left, right, top and bottom edges.
Margins(Unit) margin Initializes a new instance of the Margins class with the specified margin value for all the edges.
See Also