Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegionIterator.cs
- InstanceNotReadyException.cs
- QueueSurrogate.cs
- DataSpaceManager.cs
- IntegrationExceptionEventArgs.cs
- TransformerInfo.cs
- PasswordRecoveryDesigner.cs
- SrgsSemanticInterpretationTag.cs
- FontSourceCollection.cs
- Stylesheet.cs
- SqlConnectionFactory.cs
- DisplayMemberTemplateSelector.cs
- FormsIdentity.cs
- SiteMapDataSourceView.cs
- DataBinding.cs
- ButtonFlatAdapter.cs
- ThreadInterruptedException.cs
- ApplicationFileCodeDomTreeGenerator.cs
- XmlSecureResolver.cs
- mactripleDES.cs
- StateDesigner.Helpers.cs
- Msec.cs
- DSGeneratorProblem.cs
- TextTreeObjectNode.cs
- BookmarkNameHelper.cs
- OciLobLocator.cs
- CancelRequestedRecord.cs
- CookieParameter.cs
- IdentityHolder.cs
- TdsParserStaticMethods.cs
- CodeAccessSecurityEngine.cs
- SoapProtocolReflector.cs
- DataSourceListEditor.cs
- FormatException.cs
- XamlToRtfWriter.cs
- SQLStringStorage.cs
- DetailsView.cs
- RootCodeDomSerializer.cs
- URLIdentityPermission.cs
- SelectorAutomationPeer.cs
- SpellerInterop.cs
- AccessText.cs
- EntityDataSourceWrapperCollection.cs
- HScrollBar.cs
- Baml2006KnownTypes.cs
- ExceptionTranslationTable.cs
- ConfigsHelper.cs
- IDQuery.cs
- TypedElement.cs
- HandlerFactoryWrapper.cs
- XsltLoader.cs
- XmlSchemaExternal.cs
- URLMembershipCondition.cs
- SqlCacheDependencyDatabase.cs
- XDeferredAxisSource.cs
- BamlLocalizabilityResolver.cs
- infer.cs
- HGlobalSafeHandle.cs
- ConfigurationLockCollection.cs
- MaskedTextBox.cs
- XmlSchemaSimpleTypeUnion.cs
- BindToObject.cs
- FontFamilyValueSerializer.cs
- CellIdBoolean.cs
- AnnotationResource.cs
- GeneralTransform.cs
- BaseCAMarshaler.cs
- Item.cs
- Tablet.cs
- CollectionDataContractAttribute.cs
- RunClient.cs
- SortableBindingList.cs
- DataContractAttribute.cs
- StaticExtension.cs
- WorkflowService.cs
- HttpCachePolicy.cs
- StringReader.cs
- AssemblyBuilder.cs
- DrawingContextWalker.cs
- VisualBasicHelper.cs
- EtwTrace.cs
- ReflectPropertyDescriptor.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- PropertyChangingEventArgs.cs
- MouseGesture.cs
- WebProxyScriptElement.cs
- RequestQueue.cs
- RangeValuePattern.cs
- HitTestWithPointDrawingContextWalker.cs
- validation.cs
- FormViewPagerRow.cs
- Debug.cs
- DeploymentSection.cs
- DataGridRow.cs
- ObjectStateEntryDbDataRecord.cs
- StringBlob.cs
- XmlUtilWriter.cs
- DateBoldEvent.cs
- ConstraintStruct.cs
- _DisconnectOverlappedAsyncResult.cs