Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XhtmlTextWriter.cs
- XmlHierarchicalEnumerable.cs
- ServiceMemoryGates.cs
- ConfigDefinitionUpdates.cs
- BitmapFrameEncode.cs
- Component.cs
- RoutedEventValueSerializer.cs
- filewebresponse.cs
- StyleModeStack.cs
- EditableTreeList.cs
- Automation.cs
- EventSinkHelperWriter.cs
- WindowsTab.cs
- TextRunProperties.cs
- MergeFailedEvent.cs
- XmlBindingWorker.cs
- TreeNodeCollectionEditor.cs
- UnsafeNativeMethodsPenimc.cs
- filewebrequest.cs
- ApplicationActivator.cs
- Trace.cs
- LinqToSqlWrapper.cs
- WebPartCatalogAddVerb.cs
- ConstantSlot.cs
- HebrewNumber.cs
- SymLanguageType.cs
- XmlWrappingReader.cs
- Classification.cs
- PriorityBinding.cs
- GradientStop.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- HScrollProperties.cs
- PieceNameHelper.cs
- MachineKeySection.cs
- RotateTransform3D.cs
- CustomErrorsSectionWrapper.cs
- AnnotationResource.cs
- SqlBulkCopy.cs
- ListViewGroupConverter.cs
- CharAnimationUsingKeyFrames.cs
- StylusButton.cs
- HttpApplication.cs
- ExpressionPrefixAttribute.cs
- RecordsAffectedEventArgs.cs
- XsltException.cs
- XsdCachingReader.cs
- SplashScreenNativeMethods.cs
- AssemblyFilter.cs
- DbReferenceCollection.cs
- SoapAttributeAttribute.cs
- TextBoxAutoCompleteSourceConverter.cs
- TypeExtensionSerializer.cs
- DoubleAnimation.cs
- ValidationRule.cs
- SoapServerMethod.cs
- XmlNamespaceManager.cs
- Parameter.cs
- OpenTypeLayoutCache.cs
- HttpListenerContext.cs
- Binding.cs
- MimeTypeAttribute.cs
- MeasureData.cs
- BufferedStream.cs
- NonBatchDirectoryCompiler.cs
- DnsCache.cs
- XmlEntityReference.cs
- filewebrequest.cs
- TcpTransportManager.cs
- ValidationEventArgs.cs
- CodePrimitiveExpression.cs
- HtmlTernaryTree.cs
- UInt16Converter.cs
- ResourceReferenceExpressionConverter.cs
- ResourcePermissionBase.cs
- AtomMaterializer.cs
- SQLString.cs
- CallTemplateAction.cs
- ResourcesBuildProvider.cs
- CqlLexerHelpers.cs
- MobileFormsAuthentication.cs
- PartManifestEntry.cs
- SafeTimerHandle.cs
- UInt64.cs
- SoapFault.cs
- DBNull.cs
- HttpRequestTraceRecord.cs
- PublisherIdentityPermission.cs
- ListViewGroup.cs
- PageBuildProvider.cs
- DataGridHeaderBorder.cs
- SrgsRulesCollection.cs
- RadioButton.cs
- RoleGroup.cs
- ApplicationDirectoryMembershipCondition.cs
- UrlAuthorizationModule.cs
- itemelement.cs
- SettingsPropertyWrongTypeException.cs
- UIPropertyMetadata.cs
- TypeDescriptor.cs
- InfoCardRSACryptoProvider.cs