# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.YearMonthFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_YearMonthFormat_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.YearMonthFormat*">YearMonthFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_YearMonthFormat_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.YearMonthFormat*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_YearMonthFormat" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.YearMonthFormat">YearMonthFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets the year month format for formatted header text. This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string YearMonthFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property YearMonthFormat As String</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value defined the format of the text in header when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.DisplayMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_DisplayMode">DisplayMode</a> is GrapeCity.Windows.InputMan.CalendarMode.Month.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_YearMonthFormat_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.YearMonthFormat.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDropDownCalendar_YearMonthFormat">YearMonthFormat</a> is the format pattern for the header presentation when the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.html">GcDropDownCalendar</a> control is in GrapeCity.Windows.InputMan.CalendarMode.Month mode.</p>
</div>
</div>
