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

In This Topic
    ViewStyleSelector Property (C1Scheduler)
    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.
    Syntax
    'Declaration
     
    
    Public Property ViewStyleSelector As StyleSelector
    public StyleSelector ViewStyleSelector {get; set;}
    Remarks
    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 C1Scheduler.ChangeStyleCommand command. You can alter this behavior by providing the custom StyleSelector or by handling C1Scheduler.BeforeViewChange event.
    See Also