[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1Scheduler.ViewType

ViewType Property

ViewType

Gets or sets the ViewType value determining what style should be used in the control.

Declaration
public ViewType ViewType { get; set; }
Remarks

This property does the same thing as ChangeStyle(object) method and ChangeStyleCommand. Use it for simpler switching between different views. The relationship between tis property value and the C1Scheduler control styles:

  • Month (default) - the style defined by the MonthStyle property;
  • Day - the style defined by the OneDayStyle property;
  • WorkingWeek - the style defined by the WorkingWeekStyle property;
  • Week - the style defined by the WeekStyle property;
  • Custom - the custom style, set by custom code or xaml.