Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / C1Scheduler Class / ViewStyleSelector Property

In This Topic
    ViewStyleSelector Property
    In This Topic
    Enables you to provide custom style-selection logic for a style that should be applied to the C1Scheduler control. The default value is a null reference. This is a dependency property.
    Public Property ViewStyleSelector As C1.Xaml.C1StyleSelector
    public C1.Xaml.C1StyleSelector ViewStyleSelector {get; set;}
    The C1Scheduler control has 4 styles: By default, the C1Scheduler control changes it's style automatically according to changes in the list of visible dates or on ChangeStyleCommand command. You can alter this behavior by providing the custom StyleSelector or by handling BeforeViewChange event.
    See Also