File: src\Framework\System\Windows\Controls\CalendarDateRangeChangingEventArgs.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation.  All rights reserved.
//
//---------------------------------------------------------------------------
 
using System;
 
namespace System.Windows.Controls
{
    /// <summary>
    /// Event arguments to notify clients that the range is changing and what the new range will be
    /// </summary>
    internal class CalendarDateRangeChangingEventArgs : EventArgs
    {
        public CalendarDateRangeChangingEventArgs(DateTime start, DateTime end)
        {
            _start = start;
            _end = end;
        }
 
        public DateTime Start
        {
            get { return _start; }
        }
 
        public DateTime End
        {
            get { return _end; }
        }
 
        private DateTime _start;
        private DateTime _end;
    }
}