Version

Padding Structure Members

The following tables list the members exposed by Padding.

Public Constructors
 NameDescription
Public ConstructorPadding ConstructorCreates a new instance  
Public Properties
 NameDescription
Public PropertyBottomReturns the padding as relative to the bottom.  
Public Propertystatic (Shared in Visual Basic)EmptyReturns a Padding instance whose Top, Left, Right, and Bottom are all set to zero.  
Public PropertyLeftReturns the padding as relative to the left.  
Public PropertyRightReturns the padding as relative to the right.  
Public PropertyTopReturns the padding as relative to the top.  
Public Methods
 NameDescription
Public MethodEqualsIndicates whether this instance and a specified object are equal.  
Public MethodGetHashCodeReturns the hash code for this instance.  
Public Methodstatic (Shared in Visual Basic)PadAllReturns an instance with all properties set to the specified value.  
Public Methodstatic (Shared in Visual Basic)PadBottomReturns an instance whose Bottom property is set to the specified value, with all other properties set to zero.  
Public Methodstatic (Shared in Visual Basic)PadHorizontalReturns an instance whose Left and Right properties are set to the specified value, with all other properties set to zero.  
Public Methodstatic (Shared in Visual Basic)PadLeftReturns an instance whose Left property is set to the specified value, with all other properties set to zero.  
Public Methodstatic (Shared in Visual Basic)PadRightReturns an instance whose Right property is set to the specified value, with all other properties set to zero.  
Public Methodstatic (Shared in Visual Basic)PadTopReturns an instance whose Top property is set to the specified value, with all other properties set to zero.  
Public Methodstatic (Shared in Visual Basic)PadVerticalReturns an instance whose Top and Bottom properties are set to the specified value, with all other properties set to zero.  
Public MethodResetRestores all property values to their respective defaults.  
Public MethodToStringReturns the string representation of this object.  
See Also

View on GitHub