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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness*">Darkness Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Darkness">Darkness</h4>
<div class="markdown level1 summary"><p>Gets or sets the percentage used for calculating the color
used for the shaded area of the bevel.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Darkness { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Darkness As Integer</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>An integer value (between -100 through 100) that indicates
the shading percentage.<br> The default is -25.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_Bevel_Darkness_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
        This property uses the color (<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Color">Color</a> property)
        of the object to calculate the shaded color for the bevel in percentages.	
      </p>
<p>
        If set to 0, the same color as the color object is used. When a positive value is set, 
        a brighter color is used, and when a negative value is set, a color darker than the color
        is used. 
      </p>
<p>
        This property can be used with the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness.html#GrapeCity_Win_Spread_InputMan_CellType_Bevel_Lightness">Lightness</a> 
        property to make detailed adjustments to the brightness of the bevel color.
      </p>
</div>
</div>
