# C1.WPF.Schedule.DateTimeInfoToStringConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_DateTimeInfoToStringConverter" data-uid="C1.WPF.Schedule.DateTimeInfoToStringConverter" class="text-break">DateTimeInfoToStringConverter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a MultiValue binding converter that converts a <a class="xref" href="C1.WPF.Schedule.DateTimeInfo.html">DateTimeInfo</a> object
to one of its string representations.</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">DateTimeInfoToStringConverter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.data.imultivalueconverter">IMultiValueConverter</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_DateTimeInfoToStringConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ValueConversion(typeof(DateTimeInfo), typeof(string))]
public class DateTimeInfoToStringConverter : IMultiValueConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ValueConversion(GetType(DateTimeInfo), GetType(String))&gt;
Public Class DateTimeInfoToStringConverter
    Implements IMultiValueConverter</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_DateTimeInfoToStringConverter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;xref href=&quot;C1.WPF.Schedule.DateTimeInfoToStringConverter&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; is a one-way converter. It takes as a
</code></pre>
<p>source a list of 3 values:</p>
<ul><li>the <a class="xref" href="C1.WPF.Schedule.DateTimeInfo.html">DateTimeInfo</a> object</li><li>the DateTime format specified string. The format specified definition rules 
are the same as used in the System.DateTime.ToString(format) method. This parameter is optional.</li><li>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a> object used for converting. This parameter is optional.</li></ul>
</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_DateTimeInfoToStringConverter__ctor" data-uid="C1.WPF.Schedule.DateTimeInfoToStringConverter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.DateTimeInfoToStringConverter.-ctor.html#C1_WPF_Schedule_DateTimeInfoToStringConverter__ctor">DateTimeInfoToStringConverter()</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_DateTimeInfoToStringConverter_Default" data-uid="C1.WPF.Schedule.DateTimeInfoToStringConverter.Default">
          <a class="xref" href="C1.WPF.Schedule.DateTimeInfoToStringConverter.Default.html">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an instance of <a class="xref" href="C1.WPF.Schedule.DateTimeInfoToStringConverter.html">DateTimeInfoToStringConverter</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_DateTimeInfoToStringConverter_Convert_System_Object___System_Type_System_Object_System_Globalization_CultureInfo_" data-uid="C1.WPF.Schedule.DateTimeInfoToStringConverter.Convert(System.Object[],System.Type,System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.WPF.Schedule.DateTimeInfoToStringConverter.Convert.html#C1_WPF_Schedule_DateTimeInfoToStringConverter_Convert_System_Object___System_Type_System_Object_System_Globalization_CultureInfo_">Convert(object[], Type, object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a value. The data binding engine calls this method
when it propagates a value from the binding source to the binding target.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DateTimeInfoToStringConverter_ConvertBack_System_Object_System_Type___System_Object_System_Globalization_CultureInfo_" data-uid="C1.WPF.Schedule.DateTimeInfoToStringConverter.ConvertBack(System.Object,System.Type[],System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.WPF.Schedule.DateTimeInfoToStringConverter.ConvertBack.html#C1_WPF_Schedule_DateTimeInfoToStringConverter_ConvertBack_System_Object_System_Type___System_Object_System_Globalization_CultureInfo_">ConvertBack(object, Type[], object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Does nothing.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
