Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / CalendarModeChangedEventArgs.cs / 1305600 / CalendarModeChangedEventArgs.cs
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
namespace System.Windows.Controls
{
///
/// Provides data for the DisplayModeChanged event.
///
public class CalendarModeChangedEventArgs : System.Windows.RoutedEventArgs
{
///
/// Initializes a new instance of the CalendarModeChangedEventArgs class.
///
/// Previous value of the property, prior to the event being raised.
/// Current value of the property at the time of the event.
public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode newMode)
{
this.OldMode = oldMode;
this.NewMode = newMode;
}
///
/// Gets the new mode of the Calendar.
///
public CalendarMode NewMode
{
get;
private set;
}
///
/// Gets the previous mode of the Calendar.
///
public CalendarMode OldMode
{
get;
private set;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DATA_BLOB.cs
- DivideByZeroException.cs
- HtmlContainerControl.cs
- FormatConvertedBitmap.cs
- NotCondition.cs
- WebBrowserNavigatedEventHandler.cs
- SharedRuntimeState.cs
- SoapExtensionStream.cs
- WindowsMenu.cs
- Ipv6Element.cs
- X509Certificate2.cs
- PenThreadPool.cs
- ArithmeticLiteral.cs
- TableLayoutRowStyleCollection.cs
- TableProviderWrapper.cs
- MessageBox.cs
- FixedHyperLink.cs
- SqlStatistics.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ChangeTracker.cs
- DependencyPropertyDescriptor.cs
- Semaphore.cs
- SoapAttributes.cs
- JournalEntryStack.cs
- Merger.cs
- BinaryCommonClasses.cs
- ServicesUtilities.cs
- MultiBinding.cs
- PasswordRecovery.cs
- QueryLifecycle.cs
- Token.cs
- LinqDataSourceStatusEventArgs.cs
- ConfigsHelper.cs
- ScrollableControlDesigner.cs
- GifBitmapDecoder.cs
- SafeSerializationManager.cs
- WindowsTab.cs
- InternalSafeNativeMethods.cs
- PointCollectionValueSerializer.cs
- SchemaTypeEmitter.cs
- ConnectionPointCookie.cs
- WindowsListBox.cs
- ListView.cs
- DefaultBindingPropertyAttribute.cs
- XmlSignificantWhitespace.cs
- ProxyWebPartManager.cs
- Missing.cs
- BufferedStream.cs
- AppDomain.cs
- DateTimeFormatInfoScanner.cs
- _DisconnectOverlappedAsyncResult.cs
- SimpleHandlerFactory.cs
- Error.cs
- DesignerOptions.cs
- AudioFileOut.cs
- XsltLibrary.cs
- Queue.cs
- InitializationEventAttribute.cs
- ActiveDocumentEvent.cs
- PageThemeCodeDomTreeGenerator.cs
- SqlTriggerAttribute.cs
- MemoryPressure.cs
- IODescriptionAttribute.cs
- ObjRef.cs
- DuplicateWaitObjectException.cs
- Substitution.cs
- AsyncOperation.cs
- RuleRef.cs
- LoadedOrUnloadedOperation.cs
- SourceSwitch.cs
- MailBnfHelper.cs
- WindowsRichEditRange.cs
- XomlCompilerParameters.cs
- TransactionalPackage.cs
- SelectionRangeConverter.cs
- UserMapPath.cs
- WebPartsSection.cs
- BufferModeSettings.cs
- DomNameTable.cs
- translator.cs
- UriTemplateTableMatchCandidate.cs
- RowUpdatedEventArgs.cs
- log.cs
- BitHelper.cs
- PenContext.cs
- DataGridComboBoxColumn.cs
- Set.cs
- OleDbSchemaGuid.cs
- AsyncDataRequest.cs
- InvokeProviderWrapper.cs
- SystemUnicastIPAddressInformation.cs
- MDIControlStrip.cs
- AtomServiceDocumentSerializer.cs
- Rect3D.cs
- NextPreviousPagerField.cs
- SharedHttpTransportManager.cs
- VectorCollectionValueSerializer.cs
- SupportingTokenBindingElement.cs
- PriorityItem.cs
- FixedHyperLink.cs