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.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
[BrowsableAttribute(false)]
public StyleSelector ViewStyleSelector { get; set; }
Visual Basic (Declaration)
<BrowsableAttribute(False)> _
Public Property ViewStyleSelector As StyleSelector
	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 ChangeStyleCommand command. You can alter this behavior by providing the custom StyleSelector or by handling BeforeViewChange event.

This is a dependency property.

See Also