SelectedDatesCollection Class
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public sealed class SelectedDatesCollection : ObservableCollection<DateTime>
Public NotInheritable Class SelectedDatesCollection
Inherits ObservableCollection(Of DateTime)
[<SealedAttribute>]
type SelectedDatesCollection =
class
inherit ObservableCollection<DateTime>
end
| Inheritance | Object → Collection(DateTime) → ObservableCollection(DateTime) → SelectedDatesCollection |
Constructors
| SelectedDatesCollection(Calendar) | Initializes a new instance of the SelectedDatesCollection class. |
Properties
| Count | Gets the number of elements actually contained in the Collection(T). (Inherited from Collection(DateTime)) |
| Item(Int32) | Gets or sets the element at the specified index. (Inherited from Collection(DateTime)) |
Methods
| Add(T) | Adds an object to the end of the Collection(T). (Inherited from Collection(DateTime)) |
| AddRange(DateTime, DateTime) | Adds all the dates in the specified range, which includes the first and last dates, to the collection. |
| Clear() | Removes all elements from the Collection(T). (Inherited from Collection(DateTime)) |
| Contains(T) | Determines whether an element is in the Collection(T). (Inherited from Collection(DateTime)) |
| CopyTo(T[], Int32) | Copies the entire Collection(T) to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection(DateTime)) |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEnumerator() | Returns an enumerator that iterates through the Collection(T). (Inherited from Collection(DateTime)) |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf(T) | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection(T). (Inherited from Collection(DateTime)) |
| Insert(Int32, T) | Inserts an element into the Collection(T) at the specified index. (Inherited from Collection(DateTime)) |
| Move(Int32, Int32) | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollection(DateTime)) |
| Remove(T) | Removes the first occurrence of a specific object from the Collection(T). (Inherited from Collection(DateTime)) |
| RemoveAt(Int32) | Removes the element at the specified index of the Collection(T). (Inherited from Collection(DateTime)) |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |
Events
| CollectionChanged | Occurs when an item is added, removed, or moved, or the entire list is refreshed. (Inherited from ObservableCollection(DateTime)) |