CalendarBlackoutDatesCollection.AddDatesInPast Method ()
Adds all dates before Today to the collection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Use this method to prevent users from selecting dates that are in the past.
The following example shows the Loaded event handler. The event handler calls the method to make only future dates selectable.
Available since 4.0
Available since 2.0