End Property
Collapse the table of content
Expand the table of content

CalendarDateRange.End Property


Gets the last date in the represented range.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DateTime End { get; set; }

Property Value

Type: System.DateTime

The last date in the represented range.

<CalendarDateRange End="dateTimeString"/>


A date that is in one of the formats that are listed in the DateTime XAML Syntax topic.

The following example creates CalendarDateRange objects to specify which dates in a Calendar cannot be selected.

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2015 Microsoft