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
- HtmlPhoneCallAdapter.cs
- ListenUriMode.cs
- CdpEqualityComparer.cs
- PersonalizationStateQuery.cs
- AssemblyUtil.cs
- UriSection.cs
- ResourcePool.cs
- PageVisual.cs
- SqlDataSourceCache.cs
- SystemWebExtensionsSectionGroup.cs
- Config.cs
- PeerNameResolver.cs
- PrimitiveType.cs
- FontNamesConverter.cs
- NonVisualControlAttribute.cs
- GetFileNameResult.cs
- Ray3DHitTestResult.cs
- ThreadInterruptedException.cs
- SimpleHandlerBuildProvider.cs
- PreProcessInputEventArgs.cs
- StateDesigner.TransitionInfo.cs
- PolicyManager.cs
- ImmutableAssemblyCacheEntry.cs
- Maps.cs
- TextTreeInsertElementUndoUnit.cs
- dsa.cs
- ConfigUtil.cs
- Assert.cs
- Privilege.cs
- RuleConditionDialog.cs
- ExpressionNode.cs
- EntityDataSourceConfigureObjectContext.cs
- ItemMap.cs
- Screen.cs
- RequestCachePolicy.cs
- OutputChannelBinder.cs
- ObjectIDGenerator.cs
- FlowDocumentPageViewerAutomationPeer.cs
- OracleDateTime.cs
- ConfigurationSection.cs
- EventMappingSettingsCollection.cs
- GrammarBuilderBase.cs
- EventWaitHandle.cs
- RuntimeIdentifierPropertyAttribute.cs
- WmlSelectionListAdapter.cs
- unitconverter.cs
- TransformPattern.cs
- AttributeSetAction.cs
- ResourcePool.cs
- XmlCompatibilityReader.cs
- Matrix3D.cs
- FigureHelper.cs
- FixedSOMLineRanges.cs
- UrlMappingsModule.cs
- GlobalEventManager.cs
- CodeDomSerializer.cs
- HtmlTextArea.cs
- BitVector32.cs
- ValueQuery.cs
- CodeParameterDeclarationExpressionCollection.cs
- SizeF.cs
- SectionXmlInfo.cs
- SerialPinChanges.cs
- DeviceContext.cs
- _UriSyntax.cs
- Accessible.cs
- DataControlImageButton.cs
- TileBrush.cs
- OdbcException.cs
- ToolStripProgressBar.cs
- GacUtil.cs
- DataList.cs
- DefaultValueMapping.cs
- CqlErrorHelper.cs
- UIElementIsland.cs
- DragCompletedEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- MetabaseServerConfig.cs
- HtmlTableCell.cs
- bidPrivateBase.cs
- XmlSerializableReader.cs
- DataGridViewLinkCell.cs
- GC.cs
- SettingsBase.cs
- QilVisitor.cs
- CodeTypeReferenceSerializer.cs
- MenuItem.cs
- SafeProcessHandle.cs
- WebPartConnectionsCancelVerb.cs
- StaticResourceExtension.cs
- PropertyPushdownHelper.cs
- ProtocolsConfigurationHandler.cs
- IgnoreSection.cs
- XmlParserContext.cs
- DelegatingTypeDescriptionProvider.cs
- TransactionBridgeSection.cs
- AppDomainShutdownMonitor.cs
- ExpandedProjectionNode.cs
- StrokeCollectionConverter.cs
- SystemGatewayIPAddressInformation.cs