Margins Members
In This Article
#Constructors
Name | Description |
---|---|
Margins() | Initializes a new instance of the Margins class. |
Margins |
Initializes a new instance of the Margins class with the specified margin values for all the edges. |
Margins |
Initializes a new instance of the Margins class with the specified margin values for the left, right, top and bottom edges. |
Margins |
Initializes a new instance of the Margins class with the specified margin value for all the edges. |
#Properties
Name | Description |
---|---|
Is |
Gets a value that indicates whether this Margins object is initialized with the default values. |
Margin | Gets or sets the common margin value for all four edges. |
Margin |
Gets or sets the margin value for the bottom edge. |
Margin |
Gets or sets the margin value for the left edge. |
Margin |
Gets or sets the margin value for the right edge. |
Margin |
Gets or sets the margin value for the top edge. |
#Methods
Name | Description |
---|---|
Assign |
Copies the settings from the specified Margins object to the current object. |
Assign |
Copies the settings from the current Margins object to the specified object. |
Copy |
Duplicates the properties of the specified object into the current instance of the Margins class. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Fill |
For internal use only. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Returns the margin value for the bottom edge. |
Get |
Returns the margin value for the left edge. |
Get |
Returns the margin value for the right edge. |
Get |
Returns the margin value for the top edge. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Merge |
Combines the properties of the specified Margins with the current instance of the Margins class. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reset() | Returns the Margins object to its original state. |
To |
Returns a string that represents the current object. |
See Also