SelectedDatesCollection Class

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public sealed class SelectedDatesCollection : ObservableCollection<DateTime>
Inheritance
Object    CollectionDateTime    ObservableCollectionDateTime    SelectedDatesCollection

Constructors

SelectedDatesCollection(Calendar) Initializes a new instance of the SelectedDatesCollection class.

Properties

CountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionDateTime)
ItemInt32Gets or sets the element at the specified index.
(Inherited from CollectionDateTime)

Methods

Add(T)Adds an object to the end of the CollectionT.
(Inherited from CollectionDateTime)
AddRange(DateTime, DateTime) Adds all the dates in the specified range, which includes the first and last dates, to the collection.
ClearRemoves all elements from the CollectionT.
(Inherited from CollectionDateTime)
Contains(T)Determines whether an element is in the CollectionT.
(Inherited from CollectionDateTime)
CopyTo(T, Int32)Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionDateTime)
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionDateTime)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets 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 CollectionT.
(Inherited from CollectionDateTime)
Insert(Int32, T)Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionDateTime)
Move(Int32, Int32)Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionDateTime)
Remove(T)Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionDateTime)
RemoveAt(Int32)Removes the element at the specified index of the CollectionT.
(Inherited from CollectionDateTime)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CollectionChangedOccurs when an item is added, removed, or moved, or the entire list is refreshed.
(Inherited from ObservableCollectionDateTime)

See Also