Name

DateRangeEventArgs

Synopsis

This class encapsulates the event arguments for the MonthCalendar.DateChanged and DateSelected events. You can retrieve the Start and End date of the new selection from this object.


public class DateRangeEventArgs : EventArgs {

// Public Constructors

   public DateRangeEventArgs(DateTime start, DateTime end);

// Public Instance Properties

   public DateTime End{get; }

   public DateTime Start{get; }

}

Hierarchy

System.Object System.EventArgs DateRangeEventArgs

Passed To

DateRangeEventHandler.{BeginInvoke(), Invoke()}, MonthCalendar.{OnDateChanged(), OnDateSelected()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.