# C1.Win.Schedule.BeforeTimeFormatEventArgs.Background

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Background_" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Background*">Background Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Background_" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Background*"></a>
<h4 id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Background" data-uid="C1.Win.Schedule.BeforeTimeFormatEventArgs.Background">Background</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Color Background { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Background As Color</code></pre>
</div>
<h5 id="C1_Win_Schedule_BeforeTimeFormatEventArgs_Background_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Leave this value <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color.empty">Empty</a> to
use default background color determined by the <a class="xref" href="C1.Win.Schedule.C1Schedule.CalendarInfo.html#C1_Win_Schedule_C1Schedule_CalendarInfo">CalendarInfo</a> settings
and by the <a class="xref" href="C1.Win.Schedule.BeforeTimeFormatEventArgs.WorkTime.html#C1_Win_Schedule_BeforeTimeFormatEventArgs_WorkTime">WorkTime</a> property value.</p>
</div>
</div>
