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
- DbTransaction.cs
- ClientScriptManager.cs
- XmlAttributes.cs
- CompiledQuery.cs
- Separator.cs
- XmlSchemaInfo.cs
- CultureInfoConverter.cs
- DataSourceView.cs
- Parser.cs
- arabicshape.cs
- HwndTarget.cs
- WizardForm.cs
- RunWorkerCompletedEventArgs.cs
- TextAction.cs
- ListViewTableRow.cs
- AuthenticationModulesSection.cs
- ScrollEventArgs.cs
- MimeBasePart.cs
- WebCategoryAttribute.cs
- WindowsGraphics2.cs
- ContractMapping.cs
- Effect.cs
- ChooseAction.cs
- FormatException.cs
- XmlNodeList.cs
- WebPartMenu.cs
- DataGridCell.cs
- Pool.cs
- BinaryFormatter.cs
- SyndicationDeserializer.cs
- IntegerCollectionEditor.cs
- BCLDebug.cs
- Property.cs
- SecurityContextCookieSerializer.cs
- SearchForVirtualItemEventArgs.cs
- ContainerActivationHelper.cs
- Effect.cs
- RegexCompiler.cs
- BypassElement.cs
- TimeSpanValidator.cs
- AsymmetricSignatureFormatter.cs
- ValidationErrorInfo.cs
- XmlNodeChangedEventArgs.cs
- SoapElementAttribute.cs
- WebException.cs
- Underline.cs
- PrimitiveXmlSerializers.cs
- XmlSubtreeReader.cs
- NamedServiceModelExtensionCollectionElement.cs
- StringUtil.cs
- RenderingEventArgs.cs
- COM2ComponentEditor.cs
- Form.cs
- UnauthorizedWebPart.cs
- NetworkInformationException.cs
- BinHexDecoder.cs
- UICuesEvent.cs
- UnsafeNativeMethodsCLR.cs
- AffineTransform3D.cs
- BlockCollection.cs
- XmlLinkedNode.cs
- Faults.cs
- TextSchema.cs
- SaveWorkflowAsyncResult.cs
- HtmlControlAdapter.cs
- SmtpTransport.cs
- RegistryExceptionHelper.cs
- TextTreeInsertElementUndoUnit.cs
- SourceElementsCollection.cs
- ListBase.cs
- StatusBarPanel.cs
- HandlerBase.cs
- ObjectTypeMapping.cs
- DbDataRecord.cs
- TextEditorThreadLocalStore.cs
- _ChunkParse.cs
- TypeElementCollection.cs
- InfoCardKeyedHashAlgorithm.cs
- ToolboxItemWrapper.cs
- SoapDocumentServiceAttribute.cs
- StandardBindingCollectionElement.cs
- Margins.cs
- WindowsTooltip.cs
- CodeChecksumPragma.cs
- FormatterConverter.cs
- DefaultPrintController.cs
- BulletedListEventArgs.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XmlQueryType.cs
- SectionXmlInfo.cs
- WebPartZoneDesigner.cs
- ObjectDataSourceEventArgs.cs
- ElapsedEventArgs.cs
- RemotingException.cs
- ErrorStyle.cs
- PointLightBase.cs
- Char.cs
- ResourceAssociationSetEnd.cs
- Rethrow.cs
- FrameworkElement.cs