Skip to main content

How to: Change the Active View

This example demonstrates how to provide end-users with the capability to change the type of View that is currently active in the SchedulerControl.

The code below illustrates how to use the RadioButtonList control for this. This control should be bound to an List<T><Object,> descendant, which contains items equivalent to the SchedulerViewType enumeration values. Then, it is necessary to bind the RadioButtonList.SelectedValue property value to the SchedulerControl.ActiveViewType property.