Skip to main content
A newer version of this page is available. .
Tab

Margins Methods

Contains margin settings.
Name Description
Assign(Margins) Copies the settings from the specified Margins object to the current object.
AssignToControl(WebControl) Copies the settings from the current Margins object to the specified object.
CopyFrom(Margins) Duplicates the properties of the specified object into the current instance of the Margins class.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FillStyleAttributes(CssStyleCollection, IUrlResolutionService) For internal use only.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMarginBottom() Returns the margin value for the bottom edge.
GetMarginLeft() Returns the margin value for the left edge.
GetMarginRight() Returns the margin value for the right edge.
GetMarginTop() Returns the margin value for the top edge.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MergeWith(Margins) Combines the properties of the specified Margins with the current instance of the Margins class.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Returns the Margins object to its original state.
ToString() Returns a string that represents the current object.
See Also