# GrapeCity.Core.DocumentProperty

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Core_DocumentProperty" data-uid="GrapeCity.Core.DocumentProperty" class="text-break">DocumentProperty Class
</h1>
  <div class="markdown level0 summary"><p>Represents a custom or built-in document property of a container document.</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">DocumentProperty</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Core.html">GrapeCity.Core</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Core_DocumentProperty_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class DocumentProperty</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class DocumentProperty</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_Core_DocumentProperty_Boolean" data-uid="GrapeCity.Core.DocumentProperty.Boolean">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Boolean.html#GrapeCity_Core_DocumentProperty_Boolean">Boolean</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the yes or no value associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_Date" data-uid="GrapeCity.Core.DocumentProperty.Date">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Date.html#GrapeCity_Core_DocumentProperty_Date">Date</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the datetime value associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_FloatNumber" data-uid="GrapeCity.Core.DocumentProperty.FloatNumber">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.FloatNumber.html#GrapeCity_Core_DocumentProperty_FloatNumber">FloatNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number value associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_Name" data-uid="GrapeCity.Core.DocumentProperty.Name">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Name.html#GrapeCity_Core_DocumentProperty_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom name associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_Number" data-uid="GrapeCity.Core.DocumentProperty.Number">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Number.html#GrapeCity_Core_DocumentProperty_Number">Number</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number value associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_Text" data-uid="GrapeCity.Core.DocumentProperty.Text">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Text.html#GrapeCity_Core_DocumentProperty_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text value associated with the custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_Type" data-uid="GrapeCity.Core.DocumentProperty.Type">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Type.html#GrapeCity_Core_DocumentProperty_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom property type associated with the custom document property.</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_Core_DocumentProperty_Delete" data-uid="GrapeCity.Core.DocumentProperty.Delete">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.Delete.html#GrapeCity_Core_DocumentProperty_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a custom document property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Core_DocumentProperty_ToString" data-uid="GrapeCity.Core.DocumentProperty.ToString">
          <a class="xref" href="GrapeCity.Core.DocumentProperty.ToString.html#GrapeCity_Core_DocumentProperty_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> that represents this instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
