Click or drag to resize
Thickness Structure
[SECURITY CRITICAL] Describes the thickness of a frame around a rectangle. Four System.Double values describe the Windows.UI.Xaml.Thickness.Left, Windows.UI.Xaml.Thickness.Top, Windows.UI.Xaml.Thickness.Right, and Windows.UI.Xaml.Thickness.Bottom sides of the rectangle, respectively.

Namespace: Windows.UI.Xaml
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public struct Thickness

The Thickness type exposes the following members.

Constructors
  NameDescription
Public methodThickness(Double)
[SECURITY CRITICAL] Initializes a Windows.UI.Xaml.Thickness structure that has the specified uniform length on each side.
Public methodThickness(Double, Double, Double, Double)
[SECURITY CRITICAL] Initializes a Windows.UI.Xaml.Thickness structure that has specific lengths (supplied as a System.Double) applied to each side of the rectangle.
Top
Methods
  NameDescription
Public methodEquals(Object)
[SECURITY CRITICAL] Compares this Windows.UI.Xaml.Thickness structure to another System.Object for equality.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Thickness)
[SECURITY CRITICAL] Compares this Windows.UI.Xaml.Thickness structure to another Windows.UI.Xaml.Thickness structure for equality.
Public methodGetHashCode
[SECURITY CRITICAL] Returns the hash code of the structure.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
[SECURITY CRITICAL] Returns the string representation of the Windows.UI.Xaml.Thickness structure.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
[SECURITY CRITICAL] Compares the value of two Windows.UI.Xaml.Thickness structures for equality.
Public operatorStatic memberInequality
[SECURITY CRITICAL] Compares two Windows.UI.Xaml.Thickness structures for inequality.
Top
Properties
  NameDescription
Public propertyBottom
[SECURITY CRITICAL] Gets or sets the width, in pixels, of the lower side of the bounding rectangle.
Public propertyLeft
[SECURITY CRITICAL] Gets or sets the width, in pixels, of the left side of the bounding rectangle.
Public propertyRight
[SECURITY CRITICAL] Gets or sets the width, in pixels, of the right side of the bounding rectangle.
Public propertyTop
[SECURITY CRITICAL] Gets or sets the width, in pixels, of the upper side of the bounding rectangle.
Top
See Also