# C1.Win.GanttView.FieldStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_FieldStyle" data-uid="C1.Win.GanttView.FieldStyle" class="text-break">FieldStyle Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the style settings for the specific field of task on grid view.</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">FieldStyle</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_FieldStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(FieldStyleConverter))]
public class FieldStyle : INotifyPropertyChanged, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(FieldStyleConverter))&gt;
Public Class FieldStyle
    Implements INotifyPropertyChanged, IDisposable, ICloneable</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_Win_GanttView_FieldStyle__ctor" data-uid="C1.Win.GanttView.FieldStyle.#ctor">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.-ctor.html#C1_Win_GanttView_FieldStyle__ctor">FieldStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle__ctor_C1_Win_GanttView_StyleField_System_String_" data-uid="C1.Win.GanttView.FieldStyle.#ctor(C1.Win.GanttView.StyleField,System.String)">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.-ctor.html#C1_Win_GanttView_FieldStyle__ctor_C1_Win_GanttView_StyleField_System_String_">FieldStyle(StyleField, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new instance of <a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a> class with given <a class="xref" href="C1.Win.GanttView.StyleField.html">StyleField</a> and custom field name.</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_Win_GanttView_FieldStyle_BackColor" data-uid="C1.Win.GanttView.FieldStyle.BackColor">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.BackColor.html#C1_Win_GanttView_FieldStyle_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color used to paint the field cell background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_Field" data-uid="C1.Win.GanttView.FieldStyle.Field">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.Field.html#C1_Win_GanttView_FieldStyle_Field">Field</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.GanttView.SortField.html">SortField</a> that is applied this style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_FieldName" data-uid="C1.Win.GanttView.FieldStyle.FieldName">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.FieldName.html#C1_Win_GanttView_FieldStyle_FieldName">FieldName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the name of field that is applied this style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_Font" data-uid="C1.Win.GanttView.FieldStyle.Font">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.Font.html#C1_Win_GanttView_FieldStyle_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font used to paint text in the field cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_ForeColor" data-uid="C1.Win.GanttView.FieldStyle.ForeColor">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.ForeColor.html#C1_Win_GanttView_FieldStyle_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the text in field cell.</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_Win_GanttView_FieldStyle_Clone" data-uid="C1.Win.GanttView.FieldStyle.Clone">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.Clone.html#C1_Win_GanttView_FieldStyle_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Win.GanttView.FieldStyle.html">FieldStyle</a> that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_Dispose" data-uid="C1.Win.GanttView.FieldStyle.Dispose">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.Dispose.html#C1_Win_GanttView_FieldStyle_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Release the unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FieldStyle_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="C1.Win.GanttView.FieldStyle.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.OnPropertyChanged.html#C1_Win_GanttView_FieldStyle_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.GanttView.FieldStyle.PropertyChanged.html">PropertyChanged</a> event.</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="C1_Win_GanttView_FieldStyle_PropertyChanged" data-uid="C1.Win.GanttView.FieldStyle.PropertyChanged">
          <a class="xref" href="C1.Win.GanttView.FieldStyle.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of a property changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
