Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- OperationCanceledException.cs
- LocalTransaction.cs
- ChtmlLinkAdapter.cs
- Camera.cs
- WebPartAddingEventArgs.cs
- ComponentDispatcherThread.cs
- AbstractDataSvcMapFileLoader.cs
- ExtensionSurface.cs
- ConnectionOrientedTransportBindingElement.cs
- OledbConnectionStringbuilder.cs
- LabelLiteral.cs
- Literal.cs
- DataListItemCollection.cs
- DesigntimeLicenseContext.cs
- AddingNewEventArgs.cs
- ClearTypeHintValidation.cs
- NodeInfo.cs
- Compress.cs
- ElementMarkupObject.cs
- PointLight.cs
- WebBrowserDesigner.cs
- NamespaceListProperty.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DictionarySectionHandler.cs
- TcpHostedTransportConfiguration.cs
- IdentityVerifier.cs
- ModulesEntry.cs
- ObservableCollection.cs
- DataGridViewCell.cs
- XPathParser.cs
- NetworkStream.cs
- FamilyMap.cs
- ImageButton.cs
- TrackingMemoryStream.cs
- DataGridViewComboBoxColumn.cs
- DateTimePicker.cs
- XPathEmptyIterator.cs
- GeometryConverter.cs
- _ContextAwareResult.cs
- TextRunProperties.cs
- MatrixStack.cs
- WebCategoryAttribute.cs
- FixedSOMTable.cs
- EventLogger.cs
- FirstQueryOperator.cs
- FlowDocumentScrollViewer.cs
- BaseCodeDomTreeGenerator.cs
- ModulesEntry.cs
- CryptoProvider.cs
- PersianCalendar.cs
- recordstatescratchpad.cs
- HttpCachePolicyBase.cs
- DataGridViewRowPrePaintEventArgs.cs
- VisualTreeUtils.cs
- XhtmlMobileTextWriter.cs
- AlphabeticalEnumConverter.cs
- ExtentKey.cs
- SecureStringHasher.cs
- XmlAutoDetectWriter.cs
- HtmlElementCollection.cs
- FamilyTypeface.cs
- SerializationObjectManager.cs
- _Events.cs
- SharedStatics.cs
- CompiledAction.cs
- _NegoState.cs
- relpropertyhelper.cs
- Pen.cs
- FieldMetadata.cs
- DependencyPropertyAttribute.cs
- ObjectParameter.cs
- ToolStripOverflowButton.cs
- WindowsFormsLinkLabel.cs
- SqlHelper.cs
- EntityContainerAssociationSetEnd.cs
- LingerOption.cs
- DocumentsTrace.cs
- CollectionViewProxy.cs
- AssertHelper.cs
- MachineKeySection.cs
- OperationAbortedException.cs
- BitmapEffectInputData.cs
- WindowsGraphicsWrapper.cs
- Debug.cs
- DateTimeFormatInfoScanner.cs
- WeakEventManager.cs
- NotFiniteNumberException.cs
- EdmTypeAttribute.cs
- TimeEnumHelper.cs
- XDRSchema.cs
- ActivationService.cs
- FunctionDetailsReader.cs
- XamlStackWriter.cs
- ExceptionNotification.cs
- BamlBinaryReader.cs
- FormDocumentDesigner.cs
- ResourceDisplayNameAttribute.cs
- AbsoluteQuery.cs
- RuntimeArgumentHandle.cs
- XmlSchemaSearchPattern.cs