Class CalendarBlackoutDatesCollection
Represents a collection of non-selectable dates in a Calendar.
Inheritance
System.Object
System.Collections.ObjectModel.Collection<CalendarDateRange>
System.Collections.ObjectModel.ObservableCollection<CalendarDateRange>
CalendarBlackoutDatesCollection
Implements
System.Collections.Generic.IList<CalendarDateRange>
System.Collections.Generic.ICollection<CalendarDateRange>
System.Collections.Generic.IReadOnlyList<CalendarDateRange>
System.Collections.Generic.IReadOnlyCollection<CalendarDateRange>
System.Collections.Generic.IEnumerable<CalendarDateRange>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.BlockReentrancy()
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.CheckReentrancy()
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.Move(System.Int32, System.Int32)
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.MoveItem(System.Int32, System.Int32)
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.CollectionChanged
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.PropertyChanged
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Add(System.Windows.Controls.CalendarDateRange)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Clear()
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Contains(System.Windows.Controls.CalendarDateRange)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.CopyTo(System.Windows.Controls.CalendarDateRange[], System.Int32)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.GetEnumerator()
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.IndexOf(System.Windows.Controls.CalendarDateRange)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Insert(System.Int32, System.Windows.Controls.CalendarDateRange)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Remove(System.Windows.Controls.CalendarDateRange)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Count
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Item[System.Int32]
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.Items
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.Generic.ICollection<System.Windows.Controls.CalendarDateRange>.IsReadOnly
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<System.Windows.Controls.CalendarDateRange>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class CalendarBlackoutDatesCollection : ObservableCollection<CalendarDateRange>, IList<CalendarDateRange>, ICollection<CalendarDateRange>, IReadOnlyList<CalendarDateRange>, IReadOnlyCollection<CalendarDateRange>, IEnumerable<CalendarDateRange>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Methods
| Improve this Doc View SourceAddDatesInPast()
Adds all dates before System.DateTime.Today to the collection.
Declaration
[NotImplemented]
public void AddDatesInPast()
ClearItems()
Declaration
[NotImplemented]
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.ClearItems()
|
Improve this Doc
View Source
Contains(DateTime)
Declaration
[NotImplemented]
public bool Contains(DateTime date)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | date |
Returns
Type | Description |
---|---|
System.Boolean |
Contains(DateTime, DateTime)
Declaration
[NotImplemented]
public bool Contains(DateTime start, DateTime end)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | start | |
System.DateTime | end |
Returns
Type | Description |
---|---|
System.Boolean |
ContainsAny(CalendarDateRange)
Declaration
[NotImplemented]
public bool ContainsAny(CalendarDateRange range)
Parameters
Type | Name | Description |
---|---|---|
CalendarDateRange | range |
Returns
Type | Description |
---|---|
System.Boolean |
InsertItem(Int32, CalendarDateRange)
Declaration
[NotImplemented]
protected override void InsertItem(int index, CalendarDateRange item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
CalendarDateRange | item |
Overrides
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.InsertItem(System.Int32, System.Windows.Controls.CalendarDateRange)
|
Improve this Doc
View Source
RemoveItem(Int32)
Declaration
[NotImplemented]
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.RemoveItem(System.Int32)
|
Improve this Doc
View Source
SetItem(Int32, CalendarDateRange)
Declaration
[NotImplemented]
protected override void SetItem(int index, CalendarDateRange item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
CalendarDateRange | item |
Overrides
System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.CalendarDateRange>.SetItem(System.Int32, System.Windows.Controls.CalendarDateRange)
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged