# GrapeCity.Documents.Word.ContentControl.DateFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ContentControl_DateFormat_" data-uid="GrapeCity.Documents.Word.ContentControl.DateFormat*">DateFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ContentControl_DateFormat_" data-uid="GrapeCity.Documents.Word.ContentControl.DateFormat*"></a>
<h4 id="GrapeCity_Documents_Word_ContentControl_DateFormat" data-uid="GrapeCity.Documents.Word.ContentControl.DateFormat">DateFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets the display format which shall be used to format any date from the <a class="xref" href="GrapeCity.Documents.Word.ContentControl.Date.html#GrapeCity_Documents_Word_ContentControl_Date">Date</a> before displaying it in the control content.
If this property is null, then the date shall be formatted using the standard date display mask for the language ID specified in the <a class="xref" href="GrapeCity.Documents.Word.ContentControl.DateLocale.html#GrapeCity_Documents_Word_ContentControl_DateLocale">DateLocale</a> property if present, or the language ID of the run contents otherwise.
This property has effect only for content controls with type <a class="xref" href="GrapeCity.Documents.Word.ContentControlType.html#GrapeCity_Documents_Word_ContentControlType_Date">Date</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string DateFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property DateFormat As String</code></pre>
</div>
</div>
