Skip to main content

Contains(DateTime) Method

Returns a value that represents whether this collection contains the specified date.

Definition​

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool Contains(
DateTime date
)

Parameters​

  DateTime
The date to search for.

Return Value​

Boolean
True if the collection contains the specified date; otherwise, false.

See Also​

Reference​

CalendarBlackoutDatesCollection Class
Contains Overload
Avalonia.Controls.Primitives Namespace