Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / MaskInputRejectedEventArgs.cs / 1 / MaskInputRejectedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.ComponentModel; using System.Diagnostics; ////// MaskInputRejectedEventArgs. Provides data for the MaskInputRejected event. /// public class MaskInputRejectedEventArgs : EventArgs { private int position; MaskedTextResultHint hint; public MaskInputRejectedEventArgs(int position, MaskedTextResultHint rejectionHint) { Debug.Assert(!MaskedTextProvider.GetOperationResultFromHint(rejectionHint), "Rejection hint is not on a failure."); this.position = position; this.hint = rejectionHint; } ////// The position where the test failed the mask constraint. /// public int Position { get { return this.position; } } ////// Retreives a hint on why the input is rejected. /// public MaskedTextResultHint RejectionHint { get { return this.hint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.ComponentModel; using System.Diagnostics; ////// MaskInputRejectedEventArgs. Provides data for the MaskInputRejected event. /// public class MaskInputRejectedEventArgs : EventArgs { private int position; MaskedTextResultHint hint; public MaskInputRejectedEventArgs(int position, MaskedTextResultHint rejectionHint) { Debug.Assert(!MaskedTextProvider.GetOperationResultFromHint(rejectionHint), "Rejection hint is not on a failure."); this.position = position; this.hint = rejectionHint; } ////// The position where the test failed the mask constraint. /// public int Position { get { return this.position; } } ////// Retreives a hint on why the input is rejected. /// public MaskedTextResultHint RejectionHint { get { return this.hint; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewHeaderCell.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EdmComplexPropertyAttribute.cs
- CanonicalXml.cs
- ManualResetEvent.cs
- ExpressionLexer.cs
- ControlPropertyNameConverter.cs
- RegistryKey.cs
- CodeTypeReferenceExpression.cs
- XmlEventCache.cs
- ItemAutomationPeer.cs
- SByte.cs
- PopOutPanel.cs
- cookiecontainer.cs
- errorpatternmatcher.cs
- ConfigurationPropertyAttribute.cs
- BinaryHeap.cs
- MimePart.cs
- ListViewPagedDataSource.cs
- PolicyChain.cs
- SqlConnectionPoolProviderInfo.cs
- DeclarativeCatalogPart.cs
- PersonalizationStateInfo.cs
- EmptyElement.cs
- BitmapCache.cs
- XmlSchemaInclude.cs
- CustomWebEventKey.cs
- TextTreeRootTextBlock.cs
- ReachFixedPageSerializer.cs
- EDesignUtil.cs
- PathNode.cs
- ZipIOFileItemStream.cs
- LineMetrics.cs
- Sql8ExpressionRewriter.cs
- DataGridViewTextBoxEditingControl.cs
- Scheduling.cs
- ExpressionVisitor.cs
- DataGridViewColumnTypePicker.cs
- CombinedHttpChannel.cs
- SchemaManager.cs
- XmlText.cs
- InstanceCreationEditor.cs
- HyperlinkAutomationPeer.cs
- SessionPageStateSection.cs
- AttachmentCollection.cs
- AssertUtility.cs
- MSAAEventDispatcher.cs
- StyleBamlTreeBuilder.cs
- webbrowsersite.cs
- EndpointBehaviorElement.cs
- DesignBindingEditor.cs
- OpacityConverter.cs
- Comparer.cs
- CacheOutputQuery.cs
- SelectionEditor.cs
- RenderData.cs
- UIHelper.cs
- GenericEnumerator.cs
- Debug.cs
- ComboBoxDesigner.cs
- EditorZone.cs
- SerialPinChanges.cs
- SecureEnvironment.cs
- RijndaelManagedTransform.cs
- safex509handles.cs
- AttachedAnnotation.cs
- PermissionToken.cs
- ReadOnlyAttribute.cs
- HtmlButton.cs
- DataGridItemAttachedStorage.cs
- CrossSiteScriptingValidation.cs
- DNS.cs
- GlyphsSerializer.cs
- EventLogPermissionHolder.cs
- errorpatternmatcher.cs
- InfoCardUIAgent.cs
- SwitchExpression.cs
- DependentList.cs
- TypeResolver.cs
- XmlBinaryReader.cs
- UpdatePanel.cs
- TextServicesContext.cs
- DataObjectCopyingEventArgs.cs
- Transform3D.cs
- OSFeature.cs
- Point3D.cs
- OLEDB_Enum.cs
- WebReferencesBuildProvider.cs
- ParentQuery.cs
- X509ChainPolicy.cs
- TableStyle.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- HttpCacheVaryByContentEncodings.cs
- PropertyChangedEventManager.cs
- PathSegment.cs
- Byte.cs
- ProcessModule.cs
- UndoManager.cs
- WebPartCollection.cs
- CanonicalXml.cs