Code:
/ 4.0 / 4.0 / 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.
//----------------------------------------------------------------------------
//
// 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
- tibetanshape.cs
- CorrelationManager.cs
- TrustManager.cs
- GridView.cs
- Mapping.cs
- CultureMapper.cs
- DefaultEvaluationContext.cs
- XmlElement.cs
- BitmapData.cs
- GridViewAutoFormat.cs
- DataRow.cs
- PathHelper.cs
- HMACSHA512.cs
- AttributeEmitter.cs
- SecurityUtils.cs
- namescope.cs
- CompositionTarget.cs
- Brush.cs
- EventLogEntryCollection.cs
- HtmlProps.cs
- GlyphRun.cs
- WebRequestModuleElement.cs
- Style.cs
- LayoutEngine.cs
- InstanceLockLostException.cs
- DrawingContext.cs
- DesignerSerializationOptionsAttribute.cs
- CqlBlock.cs
- PerformanceCounterManager.cs
- KeyManager.cs
- BCryptHashAlgorithm.cs
- XmlILConstructAnalyzer.cs
- InvalidOperationException.cs
- OperandQuery.cs
- TextBoxAutoCompleteSourceConverter.cs
- ErrorFormatter.cs
- WebColorConverter.cs
- IDispatchConstantAttribute.cs
- IpcClientChannel.cs
- DES.cs
- MorphHelpers.cs
- ConstraintStruct.cs
- SpAudioStreamWrapper.cs
- TextDecorationCollection.cs
- KerberosRequestorSecurityToken.cs
- SafeFileMapViewHandle.cs
- ContentHostHelper.cs
- ImageFormatConverter.cs
- ConfigXmlComment.cs
- EditorBrowsableAttribute.cs
- Operators.cs
- Label.cs
- MimePart.cs
- KeyboardDevice.cs
- ReadOnlyMetadataCollection.cs
- XsltQilFactory.cs
- TemplateBaseAction.cs
- NavigationFailedEventArgs.cs
- OdbcDataAdapter.cs
- CfgSemanticTag.cs
- Publisher.cs
- CodeAttributeDeclaration.cs
- VSWCFServiceContractGenerator.cs
- tooltip.cs
- XmlSignatureManifest.cs
- BoundsDrawingContextWalker.cs
- BindingCompleteEventArgs.cs
- WaveHeader.cs
- Vector3DCollectionValueSerializer.cs
- ContourSegment.cs
- SoapElementAttribute.cs
- Attachment.cs
- HyperLink.cs
- Faults.cs
- HMACRIPEMD160.cs
- PointHitTestResult.cs
- DiagnosticTrace.cs
- TargetConverter.cs
- ConfigurationManagerInternal.cs
- ChangeToolStripParentVerb.cs
- Socket.cs
- SignatureDescription.cs
- ListControlConvertEventArgs.cs
- SubMenuStyleCollection.cs
- Stylus.cs
- WebPartEditorCancelVerb.cs
- TrackBarRenderer.cs
- TransactionContextManager.cs
- InstallerTypeAttribute.cs
- AssemblyBuilder.cs
- RecordConverter.cs
- TaskFileService.cs
- DataServiceProviderWrapper.cs
- GridViewUpdatedEventArgs.cs
- TriState.cs
- SqlBulkCopyColumnMapping.cs
- MarkupCompiler.cs
- ListBoxChrome.cs
- SkewTransform.cs
- ConstructorBuilder.cs