Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Scheduler Class / ViewType Property

In This Topic
    ViewType Property (C1Scheduler)
    In This Topic
    Gets or sets the ViewType value determining what style should be used in the control.
    Syntax
    'Declaration
     
    
    Public Property ViewType As ViewType
    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.
    See Also