Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / MaskInputRejectedEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataBoundControlParameterTarget.cs
- StringSorter.cs
- CompositeControl.cs
- ExpressionBinding.cs
- XmlSchemaImporter.cs
- PhysicalOps.cs
- ControlPropertyNameConverter.cs
- GroupDescription.cs
- QilNode.cs
- QilPatternFactory.cs
- WebConfigurationHost.cs
- SymmetricSecurityProtocol.cs
- CapabilitiesSection.cs
- SiteMapPathDesigner.cs
- StrongNamePublicKeyBlob.cs
- COM2FontConverter.cs
- SafeEventLogWriteHandle.cs
- QueryStringParameter.cs
- HttpPostServerProtocol.cs
- DecimalKeyFrameCollection.cs
- Control.cs
- ToolStripDropDownClosedEventArgs.cs
- MailMessageEventArgs.cs
- SmiMetaDataProperty.cs
- MouseActionConverter.cs
- Message.cs
- EncodingNLS.cs
- SqlBulkCopyColumnMapping.cs
- SmtpSection.cs
- QueryableDataSourceView.cs
- EventManager.cs
- WsatConfiguration.cs
- LogLogRecord.cs
- FormatException.cs
- XomlSerializationHelpers.cs
- Win32Interop.cs
- documentsequencetextcontainer.cs
- WSSecurityPolicy.cs
- XmlSchemaComplexContent.cs
- Ray3DHitTestResult.cs
- RulePatternOps.cs
- ConfigsHelper.cs
- TimeSpan.cs
- DecimalAnimationUsingKeyFrames.cs
- FormatterServices.cs
- CodeLinePragma.cs
- RelationshipSet.cs
- ReadOnlyPropertyMetadata.cs
- DSASignatureFormatter.cs
- ProvideValueServiceProvider.cs
- HwndStylusInputProvider.cs
- TextClipboardData.cs
- ImageListUtils.cs
- FunctionNode.cs
- TextSpanModifier.cs
- Stopwatch.cs
- OrderPreservingSpoolingTask.cs
- DataGridViewCellMouseEventArgs.cs
- DataGridViewCellStyleChangedEventArgs.cs
- NativeMethodsOther.cs
- Context.cs
- Parser.cs
- Boolean.cs
- AdRotator.cs
- TextEditorDragDrop.cs
- FieldDescriptor.cs
- WinFormsUtils.cs
- RuleProcessor.cs
- XPathMultyIterator.cs
- ValueTypePropertyReference.cs
- Cursor.cs
- AnnotationResourceChangedEventArgs.cs
- EventPrivateKey.cs
- MetadataArtifactLoader.cs
- CallbackTimeoutsBehavior.cs
- XhtmlBasicObjectListAdapter.cs
- TransformedBitmap.cs
- HiddenFieldPageStatePersister.cs
- WinInet.cs
- ResourceManager.cs
- PrePostDescendentsWalker.cs
- SectionRecord.cs
- IsolatedStorageFile.cs
- DbConnectionInternal.cs
- MDIControlStrip.cs
- GridViewPageEventArgs.cs
- Token.cs
- FormsAuthenticationEventArgs.cs
- ScriptDescriptor.cs
- DockPattern.cs
- DbDataSourceEnumerator.cs
- EncoderExceptionFallback.cs
- LinkConverter.cs
- PropertyItemInternal.cs
- RewritingValidator.cs
- PostBackOptions.cs
- codemethodreferenceexpression.cs
- CompModSwitches.cs
- X509Extension.cs
- HelloOperationAsyncResult.cs