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
- InvalidCommandTreeException.cs
- WindowHideOrCloseTracker.cs
- DefaultTextStore.cs
- UTF32Encoding.cs
- DESCryptoServiceProvider.cs
- SrgsGrammarCompiler.cs
- OneOfTypeConst.cs
- XPathPatternParser.cs
- documentsequencetextview.cs
- WebPartDescription.cs
- DataServiceResponse.cs
- DynamicResourceExtensionConverter.cs
- ToolStripDropDownClosedEventArgs.cs
- MarkupCompilePass1.cs
- ImageList.cs
- GridViewCellAutomationPeer.cs
- SafeReversePInvokeHandle.cs
- DataTransferEventArgs.cs
- ObjectDataSourceSelectingEventArgs.cs
- SimpleApplicationHost.cs
- CheckableControlBaseAdapter.cs
- PermissionToken.cs
- PolygonHotSpot.cs
- TextReader.cs
- RotateTransform.cs
- BamlBinaryReader.cs
- ActivationArguments.cs
- SourceSwitch.cs
- Codec.cs
- DropShadowEffect.cs
- SspiNegotiationTokenAuthenticatorState.cs
- EventLogPermissionEntryCollection.cs
- ControlEvent.cs
- GridViewPageEventArgs.cs
- IntegerValidator.cs
- Oci.cs
- TemplateAction.cs
- SafeTimerHandle.cs
- VectorAnimation.cs
- GridViewRowEventArgs.cs
- IHttpResponseInternal.cs
- Pair.cs
- CheckPair.cs
- AtomicFile.cs
- InkPresenterAutomationPeer.cs
- FilePresentation.cs
- CursorConverter.cs
- BitmapScalingModeValidation.cs
- StringResourceManager.cs
- DirectoryNotFoundException.cs
- FuncCompletionCallbackWrapper.cs
- XPathEmptyIterator.cs
- GeometryCollection.cs
- ControlPropertyNameConverter.cs
- Size.cs
- ApplicationManager.cs
- CommandPlan.cs
- Transform3D.cs
- WindowProviderWrapper.cs
- DESCryptoServiceProvider.cs
- PixelShader.cs
- LostFocusEventManager.cs
- NextPreviousPagerField.cs
- IriParsingElement.cs
- DataGridViewIntLinkedList.cs
- MissingMethodException.cs
- ListDictionary.cs
- HotCommands.cs
- SqlMethodAttribute.cs
- SoundPlayer.cs
- DomainConstraint.cs
- ListDesigner.cs
- storepermission.cs
- DataBindingCollection.cs
- InstanceNormalEvent.cs
- WebServiceData.cs
- HttpBrowserCapabilitiesBase.cs
- MailSettingsSection.cs
- ClientSection.cs
- WebBrowserBase.cs
- DataPagerCommandEventArgs.cs
- CFStream.cs
- SmtpReplyReader.cs
- loginstatus.cs
- ViewStateException.cs
- ToolStripDesigner.cs
- ComEventsInfo.cs
- IxmlLineInfo.cs
- OperandQuery.cs
- Latin1Encoding.cs
- LongValidatorAttribute.cs
- WinCategoryAttribute.cs
- WebPartManagerDesigner.cs
- BitmapEffectInput.cs
- WebRequestModuleElement.cs
- OdbcErrorCollection.cs
- WriteableOnDemandPackagePart.cs
- QueryValue.cs
- TextBoxRenderer.cs
- ObjectListCommandsPage.cs