Skip to main content

Contains(DateTime, DateTime) Method

Returns a value that represents whether this collection contains the specified range of dates.

Definition​

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

public bool Contains(
DateTime start,
DateTime end
)

Parameters​

  DateTime
The start of the date range.
  DateTime
The end of the date range.

Return Value​

Boolean
True if all dates in the range are contained in the collection; otherwise, false.

See Also​

Reference​

CalendarBlackoutDatesCollection Class
Contains Overload
Avalonia.Controls.Primitives Namespace