Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeNameConverter.cs
- UriWriter.cs
- ECDsaCng.cs
- InvalidProgramException.cs
- XamlToRtfWriter.cs
- ProcessThreadCollection.cs
- PeerUnsafeNativeMethods.cs
- TemplateNameScope.cs
- XXXInfos.cs
- Compiler.cs
- Win32KeyboardDevice.cs
- HashHelper.cs
- ControlDesigner.cs
- FormsAuthenticationModule.cs
- TypeReference.cs
- XPathConvert.cs
- WSTransactionSection.cs
- ArrangedElementCollection.cs
- LineUtil.cs
- ConfigurationStrings.cs
- ComboBoxItem.cs
- PointUtil.cs
- DataGridItem.cs
- Accessors.cs
- Sql8ExpressionRewriter.cs
- CheckPair.cs
- ContainerFilterService.cs
- DirtyTextRange.cs
- XmlSerializationWriter.cs
- TagNameToTypeMapper.cs
- EmptyControlCollection.cs
- ScrollBarAutomationPeer.cs
- SkipQueryOptionExpression.cs
- TextServicesDisplayAttributePropertyRanges.cs
- WindowsFormsHostAutomationPeer.cs
- AttributeEmitter.cs
- StylusCollection.cs
- BaseParagraph.cs
- BuildDependencySet.cs
- ColumnWidthChangingEvent.cs
- SecurityDocument.cs
- ChangeDirector.cs
- QilGeneratorEnv.cs
- DependencyPropertyDescriptor.cs
- SafePipeHandle.cs
- EncryptedXml.cs
- SimpleTypeResolver.cs
- Transactions.cs
- TextBlock.cs
- IncrementalHitTester.cs
- PeerPresenceInfo.cs
- ActivityStatusChangeEventArgs.cs
- CatalogPartChrome.cs
- OdbcUtils.cs
- GlyphsSerializer.cs
- MessageContractMemberAttribute.cs
- ListViewDeleteEventArgs.cs
- RijndaelManagedTransform.cs
- DataControlPagerLinkButton.cs
- DrawingAttributeSerializer.cs
- VisualCollection.cs
- Size.cs
- CodeDomConfigurationHandler.cs
- ValueConversionAttribute.cs
- OleDbEnumerator.cs
- Panel.cs
- FrameworkContentElementAutomationPeer.cs
- NavigationService.cs
- DocumentGrid.cs
- WebPartTransformer.cs
- HttpCacheVaryByContentEncodings.cs
- HttpPostProtocolImporter.cs
- HandledEventArgs.cs
- AndCondition.cs
- DashStyle.cs
- HttpRequest.cs
- UpdateRecord.cs
- OleDbDataReader.cs
- ToolStripScrollButton.cs
- NetPipeSectionData.cs
- PolicyChain.cs
- ComponentChangedEvent.cs
- VolatileEnlistmentMultiplexing.cs
- EntityProviderServices.cs
- AsyncResult.cs
- SingleResultAttribute.cs
- AttachedPropertyBrowsableAttribute.cs
- AlignmentYValidation.cs
- HttpProfileBase.cs
- PathFigureCollectionConverter.cs
- ListItemCollection.cs
- XmlValidatingReader.cs
- PreProcessInputEventArgs.cs
- Geometry.cs
- AnchoredBlock.cs
- DataGridAutoFormatDialog.cs
- DesignerCategoryAttribute.cs
- EncoderFallback.cs
- CallbackValidatorAttribute.cs
- AttachInfo.cs