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
- FindRequestContext.cs
- ReferentialConstraintRoleElement.cs
- DbConnectionOptions.cs
- ScaleTransform3D.cs
- DataGridState.cs
- TableCellCollection.cs
- SystemInfo.cs
- FrameSecurityDescriptor.cs
- WebPartConnectVerb.cs
- BackgroundWorker.cs
- OciLobLocator.cs
- SafeRsaProviderHandle.cs
- IntellisenseTextBox.designer.cs
- SectionRecord.cs
- DesignerDataTable.cs
- CodeMemberProperty.cs
- ControlPaint.cs
- ParallelTimeline.cs
- PostBackOptions.cs
- CryptoStream.cs
- DataGridCellClipboardEventArgs.cs
- PageThemeParser.cs
- Group.cs
- DocumentPageTextView.cs
- CmsInterop.cs
- WizardForm.cs
- XPathNavigator.cs
- DesignColumn.cs
- InputLanguageCollection.cs
- XmlSchemaAll.cs
- AncillaryOps.cs
- ExceptionTranslationTable.cs
- RoleGroupCollection.cs
- RegexRunnerFactory.cs
- SQLBoolean.cs
- PasswordPropertyTextAttribute.cs
- ClassHandlersStore.cs
- MimeBasePart.cs
- Label.cs
- Int64KeyFrameCollection.cs
- SourceSwitch.cs
- XmlBoundElement.cs
- EventLogger.cs
- GridViewRowEventArgs.cs
- RawUIStateInputReport.cs
- NetMsmqSecurityElement.cs
- BaseCollection.cs
- _SSPISessionCache.cs
- StringOutput.cs
- Message.cs
- DelimitedListTraceListener.cs
- ObjectMemberMapping.cs
- ByteStreamBufferedMessageData.cs
- FileRegion.cs
- LoadedEvent.cs
- UserNamePasswordValidator.cs
- CommonDialog.cs
- List.cs
- ExpressionEditor.cs
- DataRowChangeEvent.cs
- EntityConnection.cs
- BinaryFormatterWriter.cs
- ErrorItem.cs
- ComContractElement.cs
- MessageQueueEnumerator.cs
- DBDataPermission.cs
- TcpHostedTransportConfiguration.cs
- IndentTextWriter.cs
- TextSelectionHighlightLayer.cs
- TextTreeTextBlock.cs
- XhtmlTextWriter.cs
- ProviderBase.cs
- EmbeddedMailObjectCollectionEditor.cs
- wgx_render.cs
- AsnEncodedData.cs
- MenuItemAutomationPeer.cs
- Trace.cs
- BrowserTree.cs
- DataStorage.cs
- IImplicitResourceProvider.cs
- ThreadInterruptedException.cs
- Animatable.cs
- PartBasedPackageProperties.cs
- ClonableStack.cs
- EdmPropertyAttribute.cs
- CriticalExceptions.cs
- WebPermission.cs
- DBCommandBuilder.cs
- EventManager.cs
- StringPropertyBuilder.cs
- wmiprovider.cs
- XmlSchemaGroup.cs
- VirtualDirectoryMapping.cs
- ComponentDesigner.cs
- CursorConverter.cs
- HttpResponseInternalWrapper.cs
- AggregateException.cs
- WindowsMenu.cs
- PathGradientBrush.cs
- DataControlReference.cs