Class DatesCollection
Collection for storing selected dates.
Inheritance
System.Object
DatesCollection
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class DatesCollection : ObservableCollection<DateTime>, IDisposable
Constructors
DatesCollection()
Declaration
public DatesCollection()
Properties
AllowInsert
Gets or sets a value indicating whether insertion of items into the collection is allowed.
Declaration
protected bool AllowInsert { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Type: System.Boolean |
See Also
System.Boolean
Methods
Dispose()
Declaration
public void Dispose()
InsertItem(Int32, DateTime)
Inserts an element into the collection at the specified index.
Declaration
protected override void InsertItem(int index, DateTime item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
System.DateTime | item | The System.DateTime object to insert. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Cannot add new date to collection if property is set to false. |
Implements
System.IDisposable