# C1.WPF.Schedule.VisualIntervalToStringConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_VisualIntervalToStringConverter" data-uid="C1.WPF.Schedule.VisualIntervalToStringConverter" class="text-break">VisualIntervalToStringConverter Class
</h1>
  <div class="markdown level0 summary"><p>VisualIntervalToStringConverter converts VisualInterval start time to string
using formatting string specified in one of the C1Scheduler properties:</p>
<ul>
<li>DayViewDayHeaderFormat,</li>
<li>WeekViewDayHeaderFormat,</li>
<li>MonthViewDayHeaderMonthFormat,</li>
<li>MonthViewDayHeaderDayFormat,</li>
<li>MonthViewHeaderFormat.
Converter parameter should specify C1Scheduler property name.
If converter parameter is null, uses VisualInterval.Culture.DateTimeFormat.ShortDatePattern
as formatting string.</li>
</ul>
</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">VisualIntervalToStringConverter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.data.ivalueconverter">IValueConverter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.4.6.2.dll</h6>
  <h5 id="C1_WPF_Schedule_VisualIntervalToStringConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class VisualIntervalToStringConverter : IValueConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class VisualIntervalToStringConverter
    Implements IValueConverter</code></pre>
  </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_WPF_Schedule_VisualIntervalToStringConverter__ctor" data-uid="C1.WPF.Schedule.VisualIntervalToStringConverter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.VisualIntervalToStringConverter.-ctor.html#C1_WPF_Schedule_VisualIntervalToStringConverter__ctor">VisualIntervalToStringConverter()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_VisualIntervalToStringConverter_Default" data-uid="C1.WPF.Schedule.VisualIntervalToStringConverter.Default">
          <a class="xref" href="C1.WPF.Schedule.VisualIntervalToStringConverter.Default.html">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an instance of <a class="xref" href="C1.WPF.Schedule.VisualIntervalToStringConverter.html">VisualIntervalToStringConverter</a>.</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_WPF_Schedule_VisualIntervalToStringConverter_Convert_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="C1.WPF.Schedule.VisualIntervalToStringConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.WPF.Schedule.VisualIntervalToStringConverter.Convert.html#C1_WPF_Schedule_VisualIntervalToStringConverter_Convert_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_">Convert(object, Type, object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_VisualIntervalToStringConverter_ConvertBack_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="C1.WPF.Schedule.VisualIntervalToStringConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.WPF.Schedule.VisualIntervalToStringConverter.ConvertBack.html#C1_WPF_Schedule_VisualIntervalToStringConverter_ConvertBack_System_Object_System_Type_System_Object_System_Globalization_CultureInfo_">ConvertBack(object, Type, object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
