# C1.C1Preview.DataBinding.Field

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_DataBinding_Field" data-uid="C1.C1Preview.DataBinding.Field" class="text-break">Field Class
</h1>
  <div class="markdown level0 summary"><p>Represents a data field available to a data-bound object of a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.
The collection of available fields is returned by the <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.Fields.html#C1_C1Preview_DataBinding_C1DataBinding_Fields">Fields</a>
property of the object's <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.html">C1DataBinding</a>.</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.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a></div>
    <div class="level2"><span class="xref">Field</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.C1Preview.DataBinding.html">C1.C1Preview.DataBinding</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_DataBinding_Field_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class Field : NamedCollectionItem, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class Field
    Inherits NamedCollectionItem
    Implements ICloneable</code></pre>
  </div>
  <h5 id="C1_C1Preview_DataBinding_Field_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;p&gt;
</code></pre>
<p>If the <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.DataSource.html#C1_C1Preview_DataBinding_C1DataBinding_DataSource">DataSource</a> of the <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.html">C1DataBinding</a>
containing the current field is an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a>,
the <a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a> represents a property available on the type of objects in the enumerated collection.</p>

    <p>
If the <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.DataSource.html#C1_C1Preview_DataBinding_C1DataBinding_DataSource">DataSource</a> is a <a class="xref" href="C1.C1Preview.DataBinding.DataSet.html">DataSet</a>,
the <a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a> represents a <a class="xref" href="C1.C1Preview.DataBinding.DataSetField.html">DataSetField</a>
in that data set.
</p>
</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_C1Preview_DataBinding_Field__ctor_System_String_" data-uid="C1.C1Preview.DataBinding.Field.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.DataBinding.Field.-ctor.html#C1_C1Preview_DataBinding_Field__ctor_System_String_">Field(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a> class.</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_C1Preview_DataBinding_Field_Owner" data-uid="C1.C1Preview.DataBinding.Field.Owner">
          <a class="xref" href="C1.C1Preview.DataBinding.Field.Owner.html#C1_C1Preview_DataBinding_Field_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.DataBinding.FieldCollection.html">FieldCollection</a> object containing this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_Field_Value" data-uid="C1.C1Preview.DataBinding.Field.Value">
          <a class="xref" href="C1.C1Preview.DataBinding.Field.Value.html#C1_C1Preview_DataBinding_Field_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of field.</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_C1Preview_DataBinding_Field_AssignFrom_C1_C1Preview_NamedCollectionItem_" data-uid="C1.C1Preview.DataBinding.Field.AssignFrom(C1.C1Preview.NamedCollectionItem)">
          <a class="xref" href="C1.C1Preview.DataBinding.Field.AssignFrom.html#C1_C1Preview_DataBinding_Field_AssignFrom_C1_C1Preview_NamedCollectionItem_">AssignFrom(NamedCollectionItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties from another <a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_Field_SetName_System_String_" data-uid="C1.C1Preview.DataBinding.Field.SetName(System.String)">
          <a class="xref" href="C1.C1Preview.DataBinding.Field.SetName.html#C1_C1Preview_DataBinding_Field_SetName_System_String_">SetName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the name of the current <a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
