Click or drag to resize
Thickness Structure
Thickness is describing area of rectangle (border, margin, padding)

Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.Core (in EmptyKeys.UserInterface.Core.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public struct Thickness : IEquatable<Thickness>

The Thickness type exposes the following members.

Constructors
  NameDescription
Public methodThickness(Single)
Initializes a new instance of the Thickness structure
Public methodThickness(Single, Single, Single, Single)
Initializes a new instance of the Thickness struct.
Top
Properties
  NameDescription
Public propertyStatic memberZero
The zero thickness
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Thickness)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Implements the operator +.
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberSubtraction
Implements the operator -.
Top
Fields
  NameDescription
Public fieldBottom
The bottom
Public fieldLeft
The left
Public fieldRight
The right
Public fieldTop
The top
Top
See Also