Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DatePickerDateValidationErrorEventArgs.cs / 1305600 / DatePickerDateValidationErrorEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Controls { ////// Provides data for the DateValidationError event. /// public class DatePickerDateValidationErrorEventArgs : EventArgs { private bool _throwException; ////// Initializes a new instance of the DatePickerDateValidationErrorEventArgs class. /// /// The exception that initially triggered the DateValidationError event. /// The text being parsed. public DatePickerDateValidationErrorEventArgs(Exception exception, string text) { this.Text = text; this.Exception = exception; } ////// Gets the exception that initially triggered the DateValidationError event. /// public Exception Exception { get; private set; } ////// Gets the text being parsed when the DateValidationError event was raised. /// public string Text { get; private set; } ////// Gets or sets a value that indicates whether Exception should be thrown. /// public bool ThrowException { get { return this._throwException; } set { this._throwException = value; } } } } // 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. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Controls { ////// Provides data for the DateValidationError event. /// public class DatePickerDateValidationErrorEventArgs : EventArgs { private bool _throwException; ////// Initializes a new instance of the DatePickerDateValidationErrorEventArgs class. /// /// The exception that initially triggered the DateValidationError event. /// The text being parsed. public DatePickerDateValidationErrorEventArgs(Exception exception, string text) { this.Text = text; this.Exception = exception; } ////// Gets the exception that initially triggered the DateValidationError event. /// public Exception Exception { get; private set; } ////// Gets the text being parsed when the DateValidationError event was raised. /// public string Text { get; private set; } ////// Gets or sets a value that indicates whether Exception should be thrown. /// public bool ThrowException { get { return this._throwException; } set { this._throwException = value; } } } } // 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
- XmlReflectionImporter.cs
- StreamUpgradeBindingElement.cs
- ConstructorNeedsTagAttribute.cs
- MonitoringDescriptionAttribute.cs
- ListDesigner.cs
- CreateParams.cs
- documentsequencetextview.cs
- HttpBrowserCapabilitiesWrapper.cs
- DataKeyArray.cs
- InfiniteIntConverter.cs
- KeyPullup.cs
- Cursor.cs
- GuidelineSet.cs
- Slider.cs
- List.cs
- TransactionFlowBindingElementImporter.cs
- SmtpSection.cs
- CatalogPart.cs
- TreeWalker.cs
- CommentAction.cs
- ClonableStack.cs
- CodeCommentStatement.cs
- KeyValuePairs.cs
- TypeTypeConverter.cs
- DurableOperationAttribute.cs
- DbConnectionPool.cs
- TraceLog.cs
- DragDrop.cs
- Process.cs
- Wizard.cs
- WebPartMovingEventArgs.cs
- TileBrush.cs
- ResourceAssociationSetEnd.cs
- CodeExporter.cs
- ZipIOModeEnforcingStream.cs
- WebPartActionVerb.cs
- InitializerFacet.cs
- ImportContext.cs
- WebPartManagerDesigner.cs
- WebPartCollection.cs
- TextRunProperties.cs
- TcpChannelHelper.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- RootBrowserWindowProxy.cs
- TypeContext.cs
- OdbcCommand.cs
- Transform3DGroup.cs
- WindowsGraphicsWrapper.cs
- InternalCache.cs
- ClientSettingsProvider.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebPartEventArgs.cs
- SafeWaitHandle.cs
- SystemIcons.cs
- AvTrace.cs
- Schema.cs
- Shared.cs
- WinCategoryAttribute.cs
- TextDecoration.cs
- NativeMethods.cs
- ArgumentNullException.cs
- DispatcherSynchronizationContext.cs
- Span.cs
- ProcessModelInfo.cs
- DataColumnMappingCollection.cs
- EpmSyndicationContentSerializer.cs
- TraceShell.cs
- TypedReference.cs
- MessageProtectionOrder.cs
- ListBoxItemAutomationPeer.cs
- ValidateNames.cs
- Scripts.cs
- SystemWebCachingSectionGroup.cs
- CompiledQueryCacheKey.cs
- ReadWriteObjectLock.cs
- CalculatedColumn.cs
- HotSpot.cs
- OdbcDataAdapter.cs
- ClientUrlResolverWrapper.cs
- RemoteDebugger.cs
- DataSourceControl.cs
- TextContainer.cs
- _SslState.cs
- CancelRequestedRecord.cs
- Helper.cs
- DataSourceDescriptorCollection.cs
- AutoGeneratedField.cs
- ServiceHandle.cs
- OrderPreservingPipeliningSpoolingTask.cs
- Literal.cs
- MoveSizeWinEventHandler.cs
- OutputCacheSection.cs
- StringPropertyBuilder.cs
- X509ChainPolicy.cs
- loginstatus.cs
- EventBookmark.cs
- Utils.cs
- XslAstAnalyzer.cs
- StateChangeEvent.cs
- ImmutableAssemblyCacheEntry.cs