Table of Contents

Class CalendarDateRange

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll
public sealed class CalendarDateRange
Inheritance
CalendarDateRange
Inherited Members

Constructors

CalendarDateRange(DateTime)

Initializes a new instance of the System.Windows.Controls.CalendarDateRange class with a single date.

public CalendarDateRange(DateTime day)

Parameters

day DateTime

The date to be represented by the range.

CalendarDateRange(DateTime, DateTime)

Initializes a new instance of the System.Windows.Controls.CalendarDateRange class with a range of dates.

public CalendarDateRange(DateTime start, DateTime end)

Parameters

start DateTime

The start of the range to be represented.

end DateTime

The end of the range to be represented.

Properties

End

Gets the last date in the represented range.

public DateTime End { get; }

Property Value

DateTime

The last date in the represented range.

Start

Gets the first date in the represented range.

public DateTime Start { get; }

Property Value

DateTime

The first date in the represented range.