# C1.Win.Interop.Thickness

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Interop_Thickness" data-uid="C1.Win.Interop.Thickness" class="text-break">Thickness Struct
</h1>
  <div class="markdown level0 summary"><p>Describes the thickness of a frame around a rectangle. Four double
values describe the <a class="xref" href="C1.Win.Interop.Thickness.Left.html#C1_Win_Interop_Thickness_Left">Left</a>, <a class="xref" href="C1.Win.Interop.Thickness.Top.html#C1_Win_Interop_Thickness_Top">Top</a>,
<a class="xref" href="C1.Win.Interop.Thickness.Right.html#C1_Win_Interop_Thickness_Right">Right</a>, and <a class="xref" href="C1.Win.Interop.Thickness.Bottom.html#C1_Win_Interop_Thickness_Bottom">Bottom</a> sides
of the rectangle, respectively.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Interop.html">C1.Win.Interop</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Interop_Thickness_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Thickness</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Thickness</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_Thickness__ctor_System_Double_" data-uid="C1.Win.Interop.Thickness.#ctor(System.Double)">
          <a class="xref" href="C1.Win.Interop.Thickness.-ctor.html#C1_Win_Interop_Thickness__ctor_System_Double_">Thickness(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a> structure that has the specified
uniform length on each side.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness__ctor_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Win.Interop.Thickness.#ctor(System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Win.Interop.Thickness.-ctor.html#C1_Win_Interop_Thickness__ctor_System_Double_System_Double_System_Double_System_Double_">Thickness(double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a Windows.UI.Xaml.Thickness structure that has specific lengths
(supplied as a System.Double) applied to each side of the rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_Thickness_Empty" data-uid="C1.Win.Interop.Thickness.Empty">
          <a class="xref" href="C1.Win.Interop.Thickness.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an empty instance of the <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a> structure.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_Thickness_Bottom" data-uid="C1.Win.Interop.Thickness.Bottom">
          <a class="xref" href="C1.Win.Interop.Thickness.Bottom.html#C1_Win_Interop_Thickness_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width, of the lower side of the bounding rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_Left" data-uid="C1.Win.Interop.Thickness.Left">
          <a class="xref" href="C1.Win.Interop.Thickness.Left.html#C1_Win_Interop_Thickness_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width, of the left side of the bounding rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_Right" data-uid="C1.Win.Interop.Thickness.Right">
          <a class="xref" href="C1.Win.Interop.Thickness.Right.html#C1_Win_Interop_Thickness_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width, of the right side of the bounding rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_Top" data-uid="C1.Win.Interop.Thickness.Top">
          <a class="xref" href="C1.Win.Interop.Thickness.Top.html#C1_Win_Interop_Thickness_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width, of the upper side of the bounding rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_Thickness_Equals_C1_Win_Interop_Thickness_" data-uid="C1.Win.Interop.Thickness.Equals(C1.Win.Interop.Thickness)">
          <a class="xref" href="C1.Win.Interop.Thickness.Equals.html#C1_Win_Interop_Thickness_Equals_C1_Win_Interop_Thickness_">Equals(Thickness)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this Windows.UI.Xaml.Thickness structure to another <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a>
structure for equality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_Equals_System_Object_" data-uid="C1.Win.Interop.Thickness.Equals(System.Object)">
          <a class="xref" href="C1.Win.Interop.Thickness.Equals.html#C1_Win_Interop_Thickness_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this Windows.UI.Xaml.Thickness structure to another System.Object
for equality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_GetHashCode" data-uid="C1.Win.Interop.Thickness.GetHashCode">
          <a class="xref" href="C1.Win.Interop.Thickness.GetHashCode.html#C1_Win_Interop_Thickness_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the hash code of the structure.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_ToString" data-uid="C1.Win.Interop.Thickness.ToString">
          <a class="xref" href="C1.Win.Interop.Thickness.ToString.html#C1_Win_Interop_Thickness_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the string representation of the <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a> structure.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_Thickness_op_Equality_C1_Win_Interop_Thickness_C1_Win_Interop_Thickness_" data-uid="C1.Win.Interop.Thickness.op_Equality(C1.Win.Interop.Thickness,C1.Win.Interop.Thickness)">
          <a class="xref" href="C1.Win.Interop.Thickness.op_Equality.html#C1_Win_Interop_Thickness_op_Equality_C1_Win_Interop_Thickness_C1_Win_Interop_Thickness_">operator ==(Thickness, Thickness)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the value of two <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a> structures for equality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_Thickness_op_Inequality_C1_Win_Interop_Thickness_C1_Win_Interop_Thickness_" data-uid="C1.Win.Interop.Thickness.op_Inequality(C1.Win.Interop.Thickness,C1.Win.Interop.Thickness)">
          <a class="xref" href="C1.Win.Interop.Thickness.op_Inequality.html#C1_Win_Interop_Thickness_op_Inequality_C1_Win_Interop_Thickness_C1_Win_Interop_Thickness_">operator !=(Thickness, Thickness)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two <a class="xref" href="C1.Win.Interop.Thickness.html">Thickness</a> structures for inequality.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
