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
- ReflectTypeDescriptionProvider.cs
- FontInfo.cs
- HttpContextServiceHost.cs
- httpapplicationstate.cs
- QueryableDataSourceView.cs
- OutputCacheSection.cs
- TagPrefixAttribute.cs
- ReferenceAssemblyAttribute.cs
- DBParameter.cs
- EntityDataSourceConfigureObjectContext.cs
- DocumentReference.cs
- TextMarkerSource.cs
- MetadataItemEmitter.cs
- DataKeyArray.cs
- QilReference.cs
- DynamicRendererThreadManager.cs
- C14NUtil.cs
- CopyNamespacesAction.cs
- UIEndRequest.cs
- EntryIndex.cs
- FileCodeGroup.cs
- CompilerState.cs
- SqlAliasesReferenced.cs
- MailMessageEventArgs.cs
- FormatSettings.cs
- SiteOfOriginPart.cs
- TreeViewItem.cs
- TableChangeProcessor.cs
- DataControlPagerLinkButton.cs
- NameValueSectionHandler.cs
- PreviewPrintController.cs
- DataService.cs
- NameScopePropertyAttribute.cs
- LocatorBase.cs
- xmlfixedPageInfo.cs
- URL.cs
- TreeViewItem.cs
- HiddenField.cs
- InfoCardClaimCollection.cs
- TextWriterTraceListener.cs
- ScrollChrome.cs
- IfAction.cs
- ScalarConstant.cs
- SQLDoubleStorage.cs
- SqlDesignerDataSourceView.cs
- FormViewCommandEventArgs.cs
- CodeSpit.cs
- DesignerVerb.cs
- HuffCodec.cs
- TimeManager.cs
- Block.cs
- PartitionResolver.cs
- InfiniteIntConverter.cs
- WeakEventTable.cs
- VirtualizingPanel.cs
- SqlUtils.cs
- PageThemeBuildProvider.cs
- TriState.cs
- BufferedReceiveElement.cs
- ButtonPopupAdapter.cs
- ListViewContainer.cs
- ObservableCollection.cs
- TemplateXamlParser.cs
- InputReferenceExpression.cs
- LogEntryHeaderSerializer.cs
- ModelPropertyCollectionImpl.cs
- SoapFormatter.cs
- CookieProtection.cs
- StickyNoteHelper.cs
- ImageAutomationPeer.cs
- PanelStyle.cs
- DataProviderNameConverter.cs
- ConstraintStruct.cs
- counter.cs
- X509ChainPolicy.cs
- SymbolEqualComparer.cs
- Wizard.cs
- CfgParser.cs
- XamlToRtfWriter.cs
- DesignerForm.cs
- ModelToObjectValueConverter.cs
- ResizeBehavior.cs
- HtmlLiteralTextAdapter.cs
- SQLUtility.cs
- EmptyCollection.cs
- ActivityWithResult.cs
- DataMisalignedException.cs
- MatrixCamera.cs
- ResourceSet.cs
- Rijndael.cs
- CodeMemberMethod.cs
- Base64Decoder.cs
- Blend.cs
- Parallel.cs
- WindowsUpDown.cs
- OdbcReferenceCollection.cs
- ScriptControl.cs
- HostedImpersonationContext.cs
- Binding.cs
- CatalogPart.cs