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
- AssemblyGen.cs
- UInt64Storage.cs
- UnsafeMethods.cs
- OutputScopeManager.cs
- NameValuePair.cs
- ConfigXmlText.cs
- Condition.cs
- XamlNamespaceHelper.cs
- DeclarationUpdate.cs
- Compiler.cs
- BitmapDecoder.cs
- SendParametersContent.cs
- WeakReferenceList.cs
- URL.cs
- XmlException.cs
- XmlBindingWorker.cs
- ParserOptions.cs
- Variable.cs
- RemotingServices.cs
- ScriptServiceAttribute.cs
- DocumentOrderComparer.cs
- ListControlBuilder.cs
- Socket.cs
- ToolboxComponentsCreatingEventArgs.cs
- SqlDataSourceCustomCommandEditor.cs
- BypassElementCollection.cs
- WebDescriptionAttribute.cs
- DbConnectionFactory.cs
- Listbox.cs
- LinqTreeNodeEvaluator.cs
- AccessibleObject.cs
- SmtpClient.cs
- RuleSetBrowserDialog.cs
- Visitor.cs
- TreeViewHitTestInfo.cs
- EventMappingSettingsCollection.cs
- BoundPropertyEntry.cs
- SequenceDesigner.cs
- InputMethodStateChangeEventArgs.cs
- Int32Storage.cs
- HuffCodec.cs
- NavigationCommands.cs
- PathData.cs
- Repeater.cs
- TreeViewAutomationPeer.cs
- StatusBarItemAutomationPeer.cs
- RuntimeArgumentHandle.cs
- Int16Animation.cs
- CommandConverter.cs
- AudioSignalProblemOccurredEventArgs.cs
- MediaSystem.cs
- DataServiceQueryProvider.cs
- StringSorter.cs
- AssertFilter.cs
- EntityDataSourceConfigureObjectContext.cs
- DataGridViewCellStyle.cs
- RepeatBehaviorConverter.cs
- DrawingGroup.cs
- FontFamily.cs
- OutputCacheProfileCollection.cs
- AesCryptoServiceProvider.cs
- CancellationScope.cs
- HelpEvent.cs
- XmlTypeMapping.cs
- ConnectionsZoneDesigner.cs
- ActivationServices.cs
- XmlQueryType.cs
- SID.cs
- ActivityTypeResolver.xaml.cs
- TemplateField.cs
- DataGridViewCellParsingEventArgs.cs
- CryptoHelper.cs
- CallbackValidatorAttribute.cs
- LinkedResource.cs
- XPathNavigatorKeyComparer.cs
- LockedHandleGlyph.cs
- SamlAssertion.cs
- FixedSOMPageConstructor.cs
- CqlIdentifiers.cs
- SimplePropertyEntry.cs
- HwndSubclass.cs
- RoutedEventConverter.cs
- InfoCardServiceInstallComponent.cs
- PeerName.cs
- TableDetailsRow.cs
- ClearCollection.cs
- DataTableExtensions.cs
- WebResourceAttribute.cs
- HtmlForm.cs
- NullReferenceException.cs
- Convert.cs
- safex509handles.cs
- AbstractDataSvcMapFileLoader.cs
- BitmapEffectInputConnector.cs
- ProjectionPruner.cs
- CompilerTypeWithParams.cs
- GrammarBuilderWildcard.cs
- RecognitionResult.cs
- HyperLink.cs
- Material.cs