# C1.WPF.DateTimeEditors.C1DatePicker.SelectedDateFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_DateTimeEditors_C1DatePicker_SelectedDateFormat_" data-uid="C1.WPF.DateTimeEditors.C1DatePicker.SelectedDateFormat*">SelectedDateFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_DateTimeEditors_C1DatePicker_SelectedDateFormat_" data-uid="C1.WPF.DateTimeEditors.C1DatePicker.SelectedDateFormat*"></a>
<h4 id="C1_WPF_DateTimeEditors_C1DatePicker_SelectedDateFormat" data-uid="C1.WPF.DateTimeEditors.C1DatePicker.SelectedDateFormat">SelectedDateFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets the format that is used to display the selected date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1DatePickerFormat SelectedDateFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property SelectedDateFormat As C1DatePickerFormat</code></pre>
</div>
<h5 id="C1_WPF_DateTimeEditors_C1DatePicker_SelectedDateFormat_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If specified format is not valid, the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a> is thrown.</p>
</div>
</div>
