Skip to main content
All docs
V23.2

TreeMapPadding Members

Contains padding values for treemap elements.

Constructors

Name Description
TreeMapPadding(Int32, Int32, Int32, Int32) Initializes a new instance of the TreeMapPadding class with specified settings.
TreeMapPadding(Int32) Initializes a new instance of the TreeMapPadding class with specified settings.

Fields

Name Description
Empty static Returns a padding with zero values.

Properties

Name Description
All Specifies the padding value that is set for all element sides.
Bottom Gets or sets the value that specifies the bottom padding in pixels.
Horizontal Returns the sum of left and right paddings in pixels.
Left Gets or sets the value that specifies the left padding in pixels.
Right Gets or sets the value that specifies the right padding in pixels.
Size Returns the padding as a Size object.
Top Gets or sets the value that specifies the top padding in pixels.
Vertical Returns the sum of top and bottom paddings in pixels.

Methods

Name Description
Add(TreeMapPadding, TreeMapPadding) static Returns a padding that is the sum of paddings passed as parameters.
Equals(TreeMapPadding) Determines whether the current object has the same settings as the TreeMapPadding object passed in the method parameters.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the object passed in the method parameters.
GetHashCode() Returns the hash code for the current TreeMapPadding object.
GetType() Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Subtract(TreeMapPadding, TreeMapPadding) static Returns the padding that is the difference between two paddings.
ToString() Returns the short class name enclosed in parentheses.
See Also