# C1.Win.Schedule.BeforeTimeFormatEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Schedule_BeforeTimeFormatEventArgs" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs" class="text-break">BeforeTimeFormatEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.Schedule.C1Schedule.BeforeTimeFormat.html">BeforeTimeFormat</a> event
of the <a class="xref" href="C1.Win.Schedule.C1Schedule.html">C1Schedule</a> control.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">BeforeTimeFormatEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Schedule.html">C1.Win.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Schedule.10.dll</h6>
  <h5 id="C1_Win_Schedule_BeforeTimeFormatEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BeforeTimeFormatEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BeforeTimeFormatEventArgs
    Inherits EventArgs</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Background" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Background">
          <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.Background.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_Background">Background</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value specifying custom
background color for the time interval element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Duration" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Duration">
          <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.Duration.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_Duration">Duration</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value determining the duration of the time interval to format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Group" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Group">
          <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.Group.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_Group">Group</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.Schedule.ScheduleGroupItem.html">ScheduleGroupItem</a> object which is currently formatted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Start" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Start">
          <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.Start.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value determining the start date and time of the time interval to format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_BeforeTimeFormatEventArgs_WorkTime" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.WorkTime">
          <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.WorkTime.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_WorkTime">WorkTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether time interval should be displayed as a working time.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
