# C1.WPF.Schedule.C1Scheduler.ViewType

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Scheduler_ViewType_" data-uid="C1.WPF.Schedule.C1Scheduler.ViewType*">ViewType Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Scheduler_ViewType_" data-uid="C1.WPF.Schedule.C1Scheduler.ViewType*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_ViewType" data-uid="C1.WPF.Schedule.C1Scheduler.ViewType">ViewType</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.ViewType.html#C1_WPF_Schedule_C1Scheduler_ViewType">ViewType</a> value determining what style should be used in the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ViewType ViewType { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ViewType As ViewType</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1Scheduler_ViewType_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property does the same thing as <a class="xref" href="C1.WPF.Schedule.C1Scheduler.ChangeStyle.html#C1_WPF_Schedule_C1Scheduler_ChangeStyle_System_Object_">ChangeStyle(object)</a> method and <a class="xref" href="C1.WPF.Schedule.C1Scheduler.ChangeStyleCommand.html">ChangeStyleCommand</a>.
Use it for simpler switching between different views. The relationship between tis property value and the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.html">C1Scheduler</a> control styles:
<ul><li>Month (default) - the style defined by the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.MonthStyle.html#C1_WPF_Schedule_C1Scheduler_MonthStyle">MonthStyle</a> property;</li><li>Day - the style defined by the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.OneDayStyle.html#C1_WPF_Schedule_C1Scheduler_OneDayStyle">OneDayStyle</a> property;</li><li>WorkingWeek - the style defined by the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.WorkingWeekStyle.html#C1_WPF_Schedule_C1Scheduler_WorkingWeekStyle">WorkingWeekStyle</a> property;</li><li>Week - the style defined by the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.WeekStyle.html#C1_WPF_Schedule_C1Scheduler_WeekStyle">WeekStyle</a> property;</li><li>Custom - the custom style, set by custom code or xaml.</li></ul>
</div>
</div>
