# GrapeCity.Win.Spread.InputMan.CellType.Bevel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel" class="text-break">Bevel Struct
</h1>
  <div class="markdown level0 summary"><p>This class represents the object that describes the 2D border for a rectangle.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BevelConverter))]
public struct Bevel : ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(BevelConverter))&gt;
Public Structure Bevel
    Implements ISerializable</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="GrapeCity_Win_Spread_InputMan_CellType_Bevel__ctor_System_Drawing_Color_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.#ctor(System.Drawing.Color,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel__ctor_System_Drawing_Color_System_Int32_System_Int32_System_Int32_">Bevel(Color, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.html">Bevel</a> instance using the
specified attributes.</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="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the bevel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness">Darkness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the percentage used for calculating the color
used for the shaded area of the bevel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Default" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Default">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Default.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Default">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.html">Bevel</a> object that has a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color">Color</a> value set to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.systemcolors.control">Control</a>,
a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Width.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Width">Width</a> value set to zero, a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Lightness">Lightness</a> value set to 25, and a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness">Darkness</a> value set to -25.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Empty" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Empty">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Empty.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.html">Bevel</a> object that has a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color">Color</a> value set to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color.empty">Empty</a>, and
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Width.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Width">Width</a>, <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Lightness">Lightness</a> and <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness">Darkness</a> values set to 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Lightness" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Lightness">Lightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the percentage used for calculating the color
used for the light area of the bevel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Width" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Width">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Width.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the bevel.</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="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Draw_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Draw(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Draw.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Draw_System_Drawing_Graphics_System_Drawing_Rectangle_">Draw(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws a bevel using the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>
structure on the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> surface.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Equals_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Equals.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether two <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> instances are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_GetHashCode" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.GetHashCode">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.GetHashCode.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a particular type, suitable for use in
hashing algorithms and data structures like a hash table.</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="GrapeCity_Win_Spread_InputMan_CellType_Bevel_op_Equality_GrapeCity_Win_Spread_InputMan_CellType_Bevel_GrapeCity_Win_Spread_InputMan_CellType_Bevel_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.op_Equality(GrapeCity.Win.Spread.InputMan.CellType.Bevel,GrapeCity.Win.Spread.InputMan.CellType.Bevel)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.op_Equality.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_op_Equality_GrapeCity_Win_Spread_InputMan_CellType_Bevel_GrapeCity_Win_Spread_InputMan_CellType_Bevel_">operator ==(Bevel, Bevel)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether two specified values of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.html">Bevel</a> are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_op_Inequality_GrapeCity_Win_Spread_InputMan_CellType_Bevel_GrapeCity_Win_Spread_InputMan_CellType_Bevel_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.op_Inequality(GrapeCity.Win.Spread.InputMan.CellType.Bevel,GrapeCity.Win.Spread.InputMan.CellType.Bevel)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.op_Inequality.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_op_Inequality_GrapeCity_Win_Spread_InputMan_CellType_Bevel_GrapeCity_Win_Spread_InputMan_CellType_Bevel_">operator !=(Bevel, Bevel)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether two specified values of Bevel are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
