[]
        
(Showing Draft Content)

C1.GanttView.CustomCalendarCollection

CustomCalendarCollection Class

Represents a collection of custom calendars.

Inheritance
CustomCalendarCollection
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
[ListBindable(false)]
public class CustomCalendarCollection : BaseCollection<CustomCalendar>

Methods

Name Description
ClearItems()

Removes all items from the collection.

IndexOf(int)

Searches for the specified ID and returns the zero-based index of the corresponding calendar.

IndexOf(string)

Searches for the specified Name and returns the zero-based index of the corresponding calendar.

InsertItem(int, CustomCalendar)

Inserts an item at the specified index.

LoadXml(Stream)

Loads the contents of CustomCalendarCollection from a Stream.

LoadXml(string)

Loads the contents of CustomCalendarCollection from an XML file.

LoadXml(XmlDocument)

Loads the contents of CustomCalendarCollection from an System.Xml.XmlDocument.

OnListChanged(ListChangedEventArgs)

Raises the ListChanged event.

RemoveItem(int)

Removes the item at the specified index.

SaveXml(Stream)

Saves the contents of CustomCalendarCollection into a Stream.

SaveXml(Stream, Encoding)

Saves the contents of CustomCalendarCollection into a Stream.

SaveXml(string)

Saves the contents of CustomCalendarCollection into an XML file.

SaveXml(string, Encoding)

Saves the contents of CustomCalendarCollection into an XML file.

Search(int)

Searches for a CustomCalendar with the specified ID.

Search(string)

Searches for a CustomCalendar with the specified Name.

SetItem(int, CustomCalendar)

Replaces the item at the specified index.

Events

Name Description
ListChanged

Occurs when the list changes or an item in the list changes.