MindFusion.Scheduling for ASP.NET Programmer's Guide
Thickness Members
Constructors Properties Methods Events
 


Describes the thickness of a frame around a rectangle. Four double values describe the four sides of the frame.

The following tables list the members exposed by the Thickness type.

 Public Constructors

  Name Description

Thickness

Initializes a new instance of the Thickness class.

 Public Properties

  Name Description

All

Gets all sets a uniform value for all four sides of this Thickness.

Bottom

Gets or sets the width, in Unit(s), of the lower side of the bounding rectangle.

IsAllThicknessSet

Checks if all four Thickness properties are set.

IsBottomSet

Checks if the Bottom property is set.

IsLeftSet

Checks if the Left property is set.

IsRightSet

Returns true if Right property is set.

IsTopSet

Checks if the Top property is set.

Left

Gets or sets the width, in Unit(s), of the left side of the bounding rectangle.

Right

Gets or sets the width, in Unit(s), of the right side of the bounding rectangle.

Top

Gets or sets the width, in Unit(s), of the upper side of the bounding rectangle.

 Public Methods

  Name Description

Clone

Creates an exact copy of the current Thickness object.

CopyFrom

Reads the properties of the specified Thickness object and sets them as values of the current Thickness.

Equals

Determines if the specified object is equal to the current Thickness object.

GetAsJsonString

Gets a JSON string representation of the current Thickness object.

GetBottom

Gets the value of the Bottom property of this Thickness.

GetHashCode

Serves as hash function for the Thickness type.

GetLeft

Gets the value of the Left property of this Thickness.

GetProperties

Gets the properties of this Thickness as an IDictionary<string, object> list where each pair is the name of the property and its value.

GetRight

Gets the value of the Right property of this Thickness.

GetTop

Gets the value of the Top property of this Thickness.

SetProperties

Copies the values from the specified list to the properties of the current Thickness.

SetToDefault

Resets all Thickness properties to their default values.

 Public Events

  Name Description

Changed

Raised when a property of the Thickness class has changed.

 See Also

Thickness Class
MindFusion.Scheduling Namespace