Class DateTimeIntervalCollection
Inheritance
System.Object
System.Collections.ObjectModel.Collection<DateTimeInterval>
DateTimeIntervalCollection
Inherited Members
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Add(Telerik.WinControls.UI.DateTimeInterval)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Clear()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.CopyTo(Telerik.WinControls.UI.DateTimeInterval[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Contains(Telerik.WinControls.UI.DateTimeInterval)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.IndexOf(Telerik.WinControls.UI.DateTimeInterval)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Insert(System.Int32, Telerik.WinControls.UI.DateTimeInterval)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Remove(Telerik.WinControls.UI.DateTimeInterval)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Count
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Items
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.Generic.ICollection<Telerik.WinControls.UI.DateTimeInterval>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.System.Collections.IList.IsFixedSize
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class DateTimeIntervalCollection : Collection<DateTimeInterval>, IList<DateTimeInterval>, ICollection<DateTimeInterval>, IList, ICollection, IReadOnlyList<DateTimeInterval>, IReadOnlyCollection<DateTimeInterval>, IEnumerable<DateTimeInterval>, IEnumerable
Constructors
DateTimeIntervalCollection()
Declaration
public DateTimeIntervalCollection()
DateTimeIntervalCollection(IEnumerable<DateTimeInterval>)
Declaration
public DateTimeIntervalCollection(IEnumerable<DateTimeInterval> intervals)
Parameters
System.Collections.Generic.IEnumerable<DateTimeInterval>
intervals
|
DateTimeIntervalCollection(IListChangeHandler<DateTimeInterval>)
Declaration
public DateTimeIntervalCollection(IListChangeHandler<DateTimeInterval> listChangeHandler)
Parameters
IListChangeHandler<DateTimeInterval>
listChangeHandler
|
Fields
listChangeHandler
Declaration
protected IListChangeHandler<DateTimeInterval> listChangeHandler
Field Value
IListChangeHandler<DateTimeInterval>
|
Methods
Add(DateTime, DateTime)
Declaration
public virtual DateTimeInterval Add(DateTime startDate, DateTime endTime)
Parameters
System.DateTime
startDate
|
System.DateTime
endTime
|
Returns
DateTimeInterval
|
Add(DateTime, Int32)
Declaration
public virtual DateTimeInterval Add(DateTime startDate, int dayCount)
Parameters
System.DateTime
startDate
|
System.Int32
dayCount
|
Returns
DateTimeInterval
|
AddRange(IEnumerable<DateTimeInterval>)
Declaration
public virtual void AddRange(IEnumerable<DateTimeInterval> intervalCollection)
Parameters
System.Collections.Generic.IEnumerable<DateTimeInterval>
intervalCollection
|
BeginUpdate()
Declaration
public void BeginUpdate()
ClearItems()
Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.ClearItems()
Contains(DateTime)
Declaration
public virtual bool Contains(DateTime date)
Parameters
System.DateTime
date
|
Returns
System.Boolean
|
EndUpdate()
Declaration
public void EndUpdate()
EndUpdate(Boolean)
Declaration
public void EndUpdate(bool notify)
Parameters
System.Boolean
notify
|
InsertInterval(DateTimeInterval)
Declaration
protected void InsertInterval(DateTimeInterval interval)
Parameters
DateTimeInterval
interval
|
InsertItem(Int32, DateTimeInterval)
Declaration
protected override void InsertItem(int index, DateTimeInterval item)
Parameters
System.Int32
index
|
DateTimeInterval
item
|
Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.InsertItem(System.Int32, Telerik.WinControls.UI.DateTimeInterval)
IntersectsWith(DateTimeInterval)
Declaration
public virtual bool IntersectsWith(DateTimeInterval dateTimeInterval)
Parameters
DateTimeInterval
dateTimeInterval
|
Returns
System.Boolean
|
OnCollectionChanged(ListChangedEventArgs<DateTimeInterval>)
Declaration
protected virtual void OnCollectionChanged(ListChangedEventArgs<DateTimeInterval> args)
Parameters
ListChangedEventArgs<DateTimeInterval>
args
|
OnCollectionChanging(ListChangedEventArgs<DateTimeInterval>)
Declaration
protected virtual bool OnCollectionChanging(ListChangedEventArgs<DateTimeInterval> args)
Parameters
ListChangedEventArgs<DateTimeInterval>
args
|
Returns
System.Boolean
|
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
|
Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.RemoveItem(System.Int32)
SetItem(Int32, DateTimeInterval)
Declaration
protected override void SetItem(int index, DateTimeInterval item)
Parameters
System.Int32
index
|
DateTimeInterval
item
|
Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.DateTimeInterval>.SetItem(System.Int32, Telerik.WinControls.UI.DateTimeInterval)
Events
CollectionChanged
Declaration
public event EventHandler<ListChangedEventArgs<DateTimeInterval>> CollectionChanged
Event Type
System.EventHandler<ListChangedEventArgs<DateTimeInterval>>
|