Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Maps.cs
- WebPartConnectionsCancelEventArgs.cs
- Quad.cs
- CopyNamespacesAction.cs
- ConfigurationLoader.cs
- EncryptedKey.cs
- ComponentResourceKey.cs
- CustomValidator.cs
- XMLUtil.cs
- IssuedTokenParametersElement.cs
- DataObjectPastingEventArgs.cs
- _ConnectStream.cs
- XmlArrayAttribute.cs
- DockingAttribute.cs
- IDReferencePropertyAttribute.cs
- httpapplicationstate.cs
- ProviderSettings.cs
- ColorInterpolationModeValidation.cs
- InvokeWebServiceDesigner.cs
- XmlDataSourceView.cs
- IpcClientManager.cs
- WindowsGraphicsCacheManager.cs
- VScrollProperties.cs
- TypeResolvingOptions.cs
- StringExpressionSet.cs
- _SslStream.cs
- XmlSchemaGroup.cs
- Keywords.cs
- ResourcePermissionBaseEntry.cs
- DesignerActionListCollection.cs
- ClientScriptManager.cs
- TableSectionStyle.cs
- TextTreePropertyUndoUnit.cs
- StringCollection.cs
- BlobPersonalizationState.cs
- AsymmetricKeyExchangeFormatter.cs
- Inline.cs
- CookieProtection.cs
- ExpressionVisitorHelpers.cs
- SpeakCompletedEventArgs.cs
- WizardPanel.cs
- odbcmetadatacollectionnames.cs
- PersonalizationProviderCollection.cs
- RuleSetReference.cs
- XmlSchemaChoice.cs
- ISFTagAndGuidCache.cs
- SpStreamWrapper.cs
- Privilege.cs
- BoolLiteral.cs
- RunClient.cs
- SynchronousChannelMergeEnumerator.cs
- MailMessage.cs
- ProcessHostMapPath.cs
- ChangePasswordAutoFormat.cs
- ConvertEvent.cs
- COM2ColorConverter.cs
- ConfigUtil.cs
- MapPathBasedVirtualPathProvider.cs
- OpenTypeCommon.cs
- Image.cs
- DeviceContexts.cs
- TextDecorationCollection.cs
- WizardPanel.cs
- CellParaClient.cs
- EncoderExceptionFallback.cs
- ScrollBar.cs
- MenuScrollingVisibilityConverter.cs
- SizeAnimation.cs
- CqlIdentifiers.cs
- NotSupportedException.cs
- XmlException.cs
- BufferedReceiveManager.cs
- DataSourceControlBuilder.cs
- Brush.cs
- DataGridCommandEventArgs.cs
- DataGridViewRow.cs
- PropertyRecord.cs
- DataTransferEventArgs.cs
- Vector3DAnimationBase.cs
- EntityDataSourceUtil.cs
- PopupRootAutomationPeer.cs
- SystemFonts.cs
- DynamicExpression.cs
- InstancePersistenceContext.cs
- AtlasWeb.Designer.cs
- HyperlinkAutomationPeer.cs
- Attributes.cs
- VSWCFServiceContractGenerator.cs
- Timer.cs
- PageRanges.cs
- TextServicesManager.cs
- ResourceWriter.cs
- AsyncOperationManager.cs
- HttpListener.cs
- TextPenaltyModule.cs
- VisualProxy.cs
- Decoder.cs
- MultiAsyncResult.cs
- Brush.cs
- BitmapEffectDrawing.cs