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
- XmlSchemaComplexContent.cs
- ListViewItem.cs
- DesignerObject.cs
- EntityCodeGenerator.cs
- InternalControlCollection.cs
- UIElementHelper.cs
- StorageMappingFragment.cs
- DataContractJsonSerializer.cs
- XmlNode.cs
- XmlEncodedRawTextWriter.cs
- XpsTokenContext.cs
- Helpers.cs
- CultureMapper.cs
- TextLineBreak.cs
- CatalogZoneBase.cs
- WmlLiteralTextAdapter.cs
- DesignerTextBoxAdapter.cs
- CreateUserWizard.cs
- Line.cs
- XmlSchemaProviderAttribute.cs
- HandleCollector.cs
- TableItemPattern.cs
- StringConcat.cs
- LiteralControl.cs
- Highlights.cs
- PermissionSet.cs
- InvocationExpression.cs
- DynamicDocumentPaginator.cs
- ClientSession.cs
- SettingsPropertyIsReadOnlyException.cs
- UnsafeNativeMethods.cs
- Comparer.cs
- TableItemProviderWrapper.cs
- Tag.cs
- GridViewRow.cs
- SizeFConverter.cs
- smtppermission.cs
- Setter.cs
- ProgressBar.cs
- RegionData.cs
- UserControlBuildProvider.cs
- DataGridViewColumnStateChangedEventArgs.cs
- MemoryResponseElement.cs
- SQLInt64.cs
- SessionPageStatePersister.cs
- ResourcePermissionBase.cs
- PointAnimationBase.cs
- HttpWriter.cs
- BamlCollectionHolder.cs
- AstTree.cs
- SoapMessage.cs
- BindingExpression.cs
- XsdCachingReader.cs
- GenericFlowSwitchHelper.cs
- ListDictionaryInternal.cs
- ProfileService.cs
- SiteMapNodeCollection.cs
- _HTTPDateParse.cs
- Geometry.cs
- ConsoleKeyInfo.cs
- DbExpressionRules.cs
- SqlDataSourceSelectingEventArgs.cs
- PerfCounters.cs
- AnimatedTypeHelpers.cs
- Viewport3DVisual.cs
- RoleManagerModule.cs
- PersonalizableTypeEntry.cs
- DataObjectEventArgs.cs
- FixedSOMImage.cs
- ResourceIDHelper.cs
- PrivateFontCollection.cs
- QilReference.cs
- Region.cs
- SoapExtensionTypeElement.cs
- DateTimeSerializationSection.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SoapSchemaMember.cs
- MessageHeaderInfoTraceRecord.cs
- ParseHttpDate.cs
- StoreAnnotationsMap.cs
- _ScatterGatherBuffers.cs
- SingleQueryOperator.cs
- ProjectionPlan.cs
- LocalValueEnumerator.cs
- SessionSwitchEventArgs.cs
- DependencyProperty.cs
- DataDocumentXPathNavigator.cs
- DoubleConverter.cs
- ObfuscationAttribute.cs
- FixedPageAutomationPeer.cs
- CompilerScope.Storage.cs
- FileUtil.cs
- NavigationWindow.cs
- WebControlAdapter.cs
- XmlIgnoreAttribute.cs
- BooleanSwitch.cs
- TableLayoutStyleCollection.cs
- IsolationInterop.cs
- DataColumnMappingCollection.cs
- FileUtil.cs