# C1.WPF.Grid.GridTextCellView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridTextCellView" data-uid="C1.WPF.Grid.GridTextCellView" class="text-break">GridTextCellView Class
</h1>
  <div class="markdown level0 summary"><p>Grid cell dedicated to render text.</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"><a class="xref" href="../C1.WPF.GridControl/C1.WPF.Grid.GridControlCellView.html">GridControlCellView</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.Grid.GridCellView.html">GridCellView</a></div>
    <div class="level3"><span class="xref">GridTextCellView</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="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridTextCellView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridTextCellView : GridCellView, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridTextCellView
    Inherits GridCellView
    Implements INotifyPropertyChanged</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_WPF_Grid_GridTextCellView__ctor" data-uid="C1.WPF.Grid.GridTextCellView.#ctor">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.-ctor.html#C1_WPF_Grid_GridTextCellView__ctor">GridTextCellView()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Grid.GridTextCellView.html">GridTextCellView</a> class.</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_WPF_Grid_GridTextCellView_HorizontalTextAlignmentProperty" data-uid="C1.WPF.Grid.GridTextCellView.HorizontalTextAlignmentProperty">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.HorizontalTextAlignmentProperty.html">HorizontalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridTextCellView.HorizontalTextAlignment.html#C1_WPF_Grid_GridTextCellView_HorizontalTextAlignment">HorizontalTextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_TextMarginProperty" data-uid="C1.WPF.Grid.GridTextCellView.TextMarginProperty">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.TextMarginProperty.html">TextMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridTextCellView.TextMargin.html#C1_WPF_Grid_GridTextCellView_TextMargin">TextMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_TextProperty" data-uid="C1.WPF.Grid.GridTextCellView.TextProperty">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.TextProperty.html">TextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridTextCellView.Text.html#C1_WPF_Grid_GridTextCellView_Text">Text</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_VerticalTextAlignmentProperty" data-uid="C1.WPF.Grid.GridTextCellView.VerticalTextAlignmentProperty">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.VerticalTextAlignmentProperty.html">VerticalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridTextCellView.VerticalTextAlignment.html#C1_WPF_Grid_GridTextCellView_VerticalTextAlignment">VerticalTextAlignment</a> dependency property.</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_WPF_Grid_GridTextCellView_HorizontalTextAlignment" data-uid="C1.WPF.Grid.GridTextCellView.HorizontalTextAlignment">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.HorizontalTextAlignment.html#C1_WPF_Grid_GridTextCellView_HorizontalTextAlignment">HorizontalTextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text horizontal alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_NeedsRenderContent" data-uid="C1.WPF.Grid.GridTextCellView.NeedsRenderContent">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.NeedsRenderContent.html#C1_WPF_Grid_GridTextCellView_NeedsRenderContent">NeedsRenderContent</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_Text" data-uid="C1.WPF.Grid.GridTextCellView.Text">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.Text.html#C1_WPF_Grid_GridTextCellView_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_TextMargin" data-uid="C1.WPF.Grid.GridTextCellView.TextMargin">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.TextMargin.html#C1_WPF_Grid_GridTextCellView_TextMargin">TextMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_VerticalTextAlignment" data-uid="C1.WPF.Grid.GridTextCellView.VerticalTextAlignment">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.VerticalTextAlignment.html#C1_WPF_Grid_GridTextCellView_VerticalTextAlignment">VerticalTextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text vertical alignment.</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_WPF_Grid_GridTextCellView_Dispose_System_Boolean_" data-uid="C1.WPF.Grid.GridTextCellView.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.Dispose.html#C1_WPF_Grid_GridTextCellView_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.Grid.GridTextCellView.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.MeasureOverride.html#C1_WPF_Grid_GridTextCellView_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnApplyTemplate" data-uid="C1.WPF.Grid.GridTextCellView.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnApplyTemplate.html#C1_WPF_Grid_GridTextCellView_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnFlowDirectionChanged" data-uid="C1.WPF.Grid.GridTextCellView.OnFlowDirectionChanged">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnFlowDirectionChanged.html#C1_WPF_Grid_GridTextCellView_OnFlowDirectionChanged">OnFlowDirectionChanged()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnFontChanged" data-uid="C1.WPF.Grid.GridTextCellView.OnFontChanged">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnFontChanged.html#C1_WPF_Grid_GridTextCellView_OnFontChanged">OnFontChanged()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnForegroundChanged" data-uid="C1.WPF.Grid.GridTextCellView.OnForegroundChanged">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnForegroundChanged.html#C1_WPF_Grid_GridTextCellView_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnPropertyChanged_System_String_" data-uid="C1.WPF.Grid.GridTextCellView.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnPropertyChanged.html#C1_WPF_Grid_GridTextCellView_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when a property changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridTextCellView_OnRenderContent_System_Windows_Media_DrawingContext_System_Windows_Rect_" data-uid="C1.WPF.Grid.GridTextCellView.OnRenderContent(System.Windows.Media.DrawingContext,System.Windows.Rect)">
          <a class="xref" href="C1.WPF.Grid.GridTextCellView.OnRenderContent.html#C1_WPF_Grid_GridTextCellView_OnRenderContent_System_Windows_Media_DrawingContext_System_Windows_Rect_">OnRenderContent(DrawingContext, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
