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
- ListViewTableRow.cs
- XmlSchemaSimpleType.cs
- VariableExpressionConverter.cs
- Cursor.cs
- Image.cs
- MeasureItemEvent.cs
- ToolboxItemAttribute.cs
- WebHostedComPlusServiceHost.cs
- XmlSchemaException.cs
- StrokeDescriptor.cs
- UserControlAutomationPeer.cs
- GraphicsPath.cs
- RangeValuePattern.cs
- KeyTimeConverter.cs
- ProcessHost.cs
- TextTreeDeleteContentUndoUnit.cs
- PartManifestEntry.cs
- NamedPipeAppDomainProtocolHandler.cs
- BamlTreeMap.cs
- DataServiceQuery.cs
- AnonymousIdentificationSection.cs
- LOSFormatter.cs
- ToolStripSplitButton.cs
- CodeExpressionRuleDeclaration.cs
- EncoderNLS.cs
- DecoratedNameAttribute.cs
- InvalidDataException.cs
- AlternateViewCollection.cs
- ComponentConverter.cs
- Table.cs
- WorkflowPersistenceContext.cs
- AssociationTypeEmitter.cs
- SafeSystemMetrics.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- AncestorChangedEventArgs.cs
- WeakReadOnlyCollection.cs
- CodeValidator.cs
- CursorInteropHelper.cs
- BrushValueSerializer.cs
- SpeechSeg.cs
- Deserializer.cs
- Facet.cs
- FrameworkElement.cs
- SubstitutionList.cs
- StylusButtonEventArgs.cs
- ActivityTypeResolver.xaml.cs
- Menu.cs
- IssuedTokenParametersEndpointAddressElement.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Point3DAnimationUsingKeyFrames.cs
- StrongName.cs
- DateRangeEvent.cs
- KeyGestureValueSerializer.cs
- XmlComplianceUtil.cs
- EditorZoneBase.cs
- TrustSection.cs
- XmlUtil.cs
- StateRuntime.cs
- QilInvokeLateBound.cs
- MapPathBasedVirtualPathProvider.cs
- LeftCellWrapper.cs
- ProcessHostFactoryHelper.cs
- DescendantOverDescendantQuery.cs
- TableRowCollection.cs
- XmlReflectionImporter.cs
- RedirectionProxy.cs
- CodeDelegateCreateExpression.cs
- SystemParameters.cs
- AppDomainUnloadedException.cs
- DependencyPropertyConverter.cs
- ControlBindingsCollection.cs
- MarkedHighlightComponent.cs
- PropertyValueUIItem.cs
- EditBehavior.cs
- DataGridViewRowHeaderCell.cs
- TextStore.cs
- FixedSOMPage.cs
- DesignerVerbCollection.cs
- PrivateFontCollection.cs
- TextBounds.cs
- EdmToObjectNamespaceMap.cs
- DataObjectFieldAttribute.cs
- WebControl.cs
- PropertyDescriptor.cs
- ObservableCollection.cs
- SQLInt16.cs
- NetSectionGroup.cs
- TickBar.cs
- EncryptedData.cs
- AppDomainManager.cs
- ScriptingScriptResourceHandlerSection.cs
- NullableIntMinMaxAggregationOperator.cs
- ConfigurationManagerInternalFactory.cs
- CacheEntry.cs
- RoleGroupCollection.cs
- DocumentPage.cs
- ViewStateModeByIdAttribute.cs
- HostProtectionException.cs
- HeaderCollection.cs
- validationstate.cs