method Events.Clear ()
Removes all objects in a collection.

TypeDescription
The Clear method of the Events collection clears the events collection. In other words, calling the Clear method erases all elements in the Events collection. The control fires the RemoveEvent each time an event is removed, including when all events are removed, so the RemoveEvent event is fired for each event to be removed. The Remove method removes the specified event. The RemoveSelection method removes or erases all selected events in the schedule view. The ClearAll method clear all objects in the control, including the events. Any of these methods invoke calling of the RemoveEvent event. Use the GroupID property of the Event object to move a ( remove/add ) an Event from a Group to another. You can use the Events.Clear method to remove any previously event from the scheduler before calling the LoadXML method, which does not remove any event before. You can use the ShowEvents property to indicates whether the regular/repetitive events are shown in the view.