# GrapeCity.Wpf.SpreadSheet.PaintingContext

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_PaintingContext" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext" class="text-break">PaintingContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents the painting context.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">PaintingContext</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.html">GrapeCity.Wpf.SpreadSheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_PaintingContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class PaintingContext</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class PaintingContext</code></pre>
  </div>
  <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_Wpf_SpreadSheet_PaintingContext_Culture" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.Culture">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.Culture.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current culture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_HoverCellBackground" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.HoverCellBackground">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.HoverCellBackground.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_HoverCellBackground">HoverCellBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the hover cell background.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_HoverManager" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.HoverManager">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.HoverManager.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_HoverManager">HoverManager</a>
        </td>
        <td class="markdown level1 summary"><p>The background hover manager.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_Spread" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.Spread">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.Spread.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_Spread">Spread</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.GcSpreadSheet.html">GcSpreadSheet</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_ViewMode" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.ViewMode">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.ViewMode.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_ViewMode">ViewMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.ViewMode.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_ViewMode">ViewMode</a> value indicates the display mode of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_Workbook" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.Workbook">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.Workbook.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_Workbook">Workbook</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current workbook.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_Worksheet" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.Worksheet">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.Worksheet.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_Worksheet">Worksheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_ZoomScale" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.ZoomScale">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.ZoomScale.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_ZoomScale">ZoomScale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the window zoom magnification for current view representing percent values.</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_Wpf_SpreadSheet_PaintingContext_GetBackground_GrapeCity_Wpf_SpreadSheet_CellData_" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBackground(GrapeCity.Wpf.SpreadSheet.CellData)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBackground.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_GetBackground_GrapeCity_Wpf_SpreadSheet_CellData_">GetBackground(CellData)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the background of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_GetBrush_GrapeCity_Spreadsheet_Color_" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBrush(GrapeCity.Spreadsheet.Color)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBrush.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_GetBrush_GrapeCity_Spreadsheet_Color_">GetBrush(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Color.html">Color</a> value to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_GetBrush_GrapeCity_Spreadsheet_Fill_" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBrush(GrapeCity.Spreadsheet.Fill)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetBrush.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_GetBrush_GrapeCity_Spreadsheet_Fill_">GetBrush(Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Fill.html">Fill</a> value to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_PaintingContext_GetNormalStyleFormat" data-uid="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetNormalStyleFormat">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.PaintingContext.GetNormalStyleFormat.html#GrapeCity_Wpf_SpreadSheet_PaintingContext_GetNormalStyleFormat">GetNormalStyleFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the normal style format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
