Clears all control's collections, including the events.
Type
Description
The ClearAll method clears all control's collection as
listed bellow. Usually, you can call this method prior to a LoadXML
method for a fresh and empty control.
The ClearAll method clears the following collections:
TimeScales collection. The
TimeScales collection can be accessed through the component's TimeScales
property. This is a particular case, when not the entire collection is
emptied, as the first element in the collection, is not removed when the
ClearAll method is called. In other words, the default TimeScale object
being displayed, is not removed, just any additional TimeScale objects.
You can use the Clear method of the
TimeScales collection to remove all TimeScales objects. As the default,
TimeScale object is not being removed or deleted, the TimeZone or any
other property that has been changed, will not be changed to its default
value.
Groups collection. The Groups
collection can be accessed through the component's Groups
property.