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.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
[BrowsableAttribute(false)]
public C1StyleSelector ViewStyleSelector { get; set; }
Visual Basic
<BrowsableAttribute(False)> _
Public Property ViewStyleSelector As C1StyleSelector
	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.

See Also