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
- CommonObjectSecurity.cs
- BaseAsyncResult.cs
- MailWebEventProvider.cs
- CodeBlockBuilder.cs
- OleDbConnectionInternal.cs
- RuleSetCollection.cs
- AppSettingsExpressionBuilder.cs
- WebException.cs
- AnimationTimeline.cs
- Renderer.cs
- RectAnimation.cs
- CodeTypeConstructor.cs
- WebColorConverter.cs
- TrimSurroundingWhitespaceAttribute.cs
- SerializationHelper.cs
- StringReader.cs
- DragEventArgs.cs
- DrawToolTipEventArgs.cs
- Point3DValueSerializer.cs
- ClientSponsor.cs
- AccessDataSource.cs
- ObjectQuery.cs
- HuffModule.cs
- Size3D.cs
- GAC.cs
- Parameter.cs
- NavigationHelper.cs
- CompositeCollectionView.cs
- ValidationEventArgs.cs
- FileLogRecordHeader.cs
- HtmlTableRowCollection.cs
- PageWrapper.cs
- DesignerDataTable.cs
- XmlQueryTypeFactory.cs
- Timeline.cs
- ArrayConverter.cs
- StringFreezingAttribute.cs
- ListItemCollection.cs
- Renderer.cs
- RightsManagementUser.cs
- GeometryConverter.cs
- StrokeSerializer.cs
- ReversePositionQuery.cs
- ByteStream.cs
- NetworkInterface.cs
- CodeArrayCreateExpression.cs
- InternalsVisibleToAttribute.cs
- ContextMarshalException.cs
- URI.cs
- Geometry.cs
- MouseOverProperty.cs
- TextEditorSelection.cs
- StatusBarItemAutomationPeer.cs
- DataGridLength.cs
- ButtonBaseAdapter.cs
- MarshalByRefObject.cs
- EventlogProvider.cs
- ChildTable.cs
- Color.cs
- WebBrowserUriTypeConverter.cs
- XmlQualifiedName.cs
- Padding.cs
- Query.cs
- CryptographicAttribute.cs
- BindingValueChangedEventArgs.cs
- Exceptions.cs
- ColorContext.cs
- TdsValueSetter.cs
- DataSourceSelectArguments.cs
- ScriptRegistrationManager.cs
- StrokeFIndices.cs
- Filter.cs
- CodeAttributeArgument.cs
- ErrorItem.cs
- SqlInternalConnectionTds.cs
- ColumnWidthChangedEvent.cs
- OleDbRowUpdatingEvent.cs
- SendingRequestEventArgs.cs
- BinaryReader.cs
- Util.cs
- UInt16Storage.cs
- WizardSideBarListControlItem.cs
- ValidationService.cs
- ExpressionPrinter.cs
- Attributes.cs
- PackagePart.cs
- TypeConverterHelper.cs
- _BufferOffsetSize.cs
- FormClosedEvent.cs
- ToolStripProgressBar.cs
- EmptyEnumerator.cs
- Crypto.cs
- TokenBasedSet.cs
- StateValidator.cs
- ListBoxItemAutomationPeer.cs
- Figure.cs
- HMACSHA512.cs
- ProtectedUri.cs
- WCFBuildProvider.cs
- AppDomainProtocolHandler.cs