# GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext" class="text-break">ValueContext Class
</h1>
  <div class="markdown level0 summary"><p>Provide data context for the <span class="xref">GrapeCity.Wpf.SpreadSheet.CellType.DataTemplateCellType</span>.</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">ValueContext</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueContext : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueContext
    Implements INotifyPropertyChanged</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.html">ValueContext</a> instance was used for the data context of the <span class="xref">GrapeCity.Wpf.SpreadSheet.CellType.DataTemplateCellType</span>,
and the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Value">Value</a> property should be
bound with the value of cell.</p>
</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_CellType_Editors_ValueContext_Column" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Column">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Column.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Column">Column</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an integer value indicating the current column.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_IsPrinting" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.IsPrinting">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.IsPrinting.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_IsPrinting">IsPrinting</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether the cell is printing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Row" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Row">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Row.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Row">Row</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an integer value indicating the current row.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Value" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Value">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that bound with the value of cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Worksheet" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Worksheet">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.Worksheet.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_Worksheet">Worksheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> object indicating the current worksheet.</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_CellType_Editors_ValueContext_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.OnPropertyChanged.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.PropertyChanged.html">PropertyChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_ToString" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.ToString">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.ToString.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ValueContext_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_CellType_Editors_ValueContext_PropertyChanged" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.PropertyChanged">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValueContext.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>/// Occurs when the property changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
