Code:
/ DotNET / DotNET / 8.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
- WebBodyFormatMessageProperty.cs
- DeviceContext2.cs
- MessageAction.cs
- ExceptionHelpers.cs
- MobileUserControlDesigner.cs
- SHA1CryptoServiceProvider.cs
- AttachedPropertyDescriptor.cs
- PropertyGridView.cs
- XmlDownloadManager.cs
- ModelMemberCollection.cs
- CheckableControlBaseAdapter.cs
- ForeignKeyFactory.cs
- KeyboardEventArgs.cs
- MethodBuilderInstantiation.cs
- StylusPointCollection.cs
- DecimalStorage.cs
- XpsResource.cs
- TextEditorThreadLocalStore.cs
- DataRelation.cs
- UndoEngine.cs
- QilScopedVisitor.cs
- SizeAnimationUsingKeyFrames.cs
- ResizeGrip.cs
- SectionInformation.cs
- RegistryConfigurationProvider.cs
- QilStrConcat.cs
- OpenFileDialog.cs
- ReachPageContentCollectionSerializerAsync.cs
- DataGridHeaderBorder.cs
- PerfService.cs
- _WinHttpWebProxyDataBuilder.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- WebPartAddingEventArgs.cs
- WSDualHttpBindingElement.cs
- DesignerCategoryAttribute.cs
- SurrogateSelector.cs
- MetricEntry.cs
- RuntimeWrappedException.cs
- TransactionFlowProperty.cs
- XmlSchemaAttributeGroup.cs
- PropertyChangingEventArgs.cs
- dbdatarecord.cs
- OptimizerPatterns.cs
- TextBoxLine.cs
- ListItemConverter.cs
- WebPartVerbCollection.cs
- CommandField.cs
- Menu.cs
- ToolTipAutomationPeer.cs
- MatrixUtil.cs
- NotCondition.cs
- _HeaderInfoTable.cs
- DiscoveryMessageSequence11.cs
- XmlNamespaceDeclarationsAttribute.cs
- GenericNameHandler.cs
- FacetChecker.cs
- TextParaLineResult.cs
- CharacterString.cs
- ToolStripItem.cs
- ListViewHitTestInfo.cs
- Timer.cs
- Camera.cs
- EntryIndex.cs
- AttributeCollection.cs
- ToolBar.cs
- Crypto.cs
- SafeArrayTypeMismatchException.cs
- HtmlInputRadioButton.cs
- ScrollBarAutomationPeer.cs
- TreeChangeInfo.cs
- SafeViewOfFileHandle.cs
- WindowsSpinner.cs
- GradientStop.cs
- BindingContext.cs
- DatasetMethodGenerator.cs
- DesignerTransactionCloseEvent.cs
- GridViewRow.cs
- RotationValidation.cs
- GuidelineSet.cs
- BindingGroup.cs
- _ShellExpression.cs
- TypefaceCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- TimerElapsedEvenArgs.cs
- MimeImporter.cs
- UTF7Encoding.cs
- ListViewInsertionMark.cs
- PeerObject.cs
- ILGenerator.cs
- InternalUserCancelledException.cs
- QuaternionValueSerializer.cs
- GridViewRowEventArgs.cs
- webclient.cs
- DataColumnPropertyDescriptor.cs
- CallbackBehaviorAttribute.cs
- _SpnDictionary.cs
- ACL.cs
- CopyAttributesAction.cs
- ConfigUtil.cs
- BitmapEffectGroup.cs