Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AspNetSynchronizationContext.cs
- DbConnectionFactory.cs
- DatasetMethodGenerator.cs
- TypefaceCollection.cs
- MethodExpr.cs
- InternalBufferOverflowException.cs
- XmlSchemaException.cs
- ExtensionSimplifierMarkupObject.cs
- Base64Encoder.cs
- AnnotationStore.cs
- PeerEndPoint.cs
- UriTemplateCompoundPathSegment.cs
- XmlAttributeProperties.cs
- TableLayoutPanel.cs
- FamilyCollection.cs
- _NetworkingPerfCounters.cs
- WMIInterop.cs
- DispatchChannelSink.cs
- CacheVirtualItemsEvent.cs
- PrintController.cs
- ProfilePropertySettings.cs
- StyleSheetDesigner.cs
- ProcessManager.cs
- ArrayExtension.cs
- ConditionalExpression.cs
- HMACMD5.cs
- SafeCoTaskMem.cs
- CodeLabeledStatement.cs
- ProviderSettingsCollection.cs
- BrowserDefinitionCollection.cs
- PackageFilter.cs
- MultipleViewPatternIdentifiers.cs
- DiscoveryClientElement.cs
- OdbcConnectionOpen.cs
- WebPartEditVerb.cs
- ReferenceAssemblyAttribute.cs
- CheckBox.cs
- DefaultCommandConverter.cs
- AppDomainFactory.cs
- Condition.cs
- ToggleProviderWrapper.cs
- SafeThemeHandle.cs
- XmlRawWriter.cs
- AutomationPattern.cs
- prefixendpointaddressmessagefiltertable.cs
- FactoryMaker.cs
- RectangleConverter.cs
- OperatingSystemVersionCheck.cs
- baseshape.cs
- PackagingUtilities.cs
- UnsafeNativeMethods.cs
- login.cs
- RangeValidator.cs
- SelectionProviderWrapper.cs
- TextEmbeddedObject.cs
- BasicExpressionVisitor.cs
- EllipseGeometry.cs
- GridViewColumnHeader.cs
- SqlNotificationEventArgs.cs
- SignatureConfirmations.cs
- PrefixHandle.cs
- AnnotationAuthorChangedEventArgs.cs
- DispatcherFrame.cs
- DispatcherSynchronizationContext.cs
- UITypeEditor.cs
- DocumentApplicationJournalEntry.cs
- ToolStripAdornerWindowService.cs
- TargetControlTypeAttribute.cs
- HtmlTernaryTree.cs
- WmlObjectListAdapter.cs
- SqlDataSourceStatusEventArgs.cs
- PerformanceCounterTraceRecord.cs
- EventProviderClassic.cs
- NativeCompoundFileAPIs.cs
- Soap12ProtocolReflector.cs
- BaseInfoTable.cs
- SettingsAttributeDictionary.cs
- HtmlAnchor.cs
- PenContext.cs
- DataGridViewAutoSizeModeEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- AsymmetricSignatureDeformatter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IndexedWhereQueryOperator.cs
- BinaryNegotiation.cs
- ToggleButton.cs
- DisplayClaim.cs
- ObjectConverter.cs
- PageParserFilter.cs
- URL.cs
- SqlDataRecord.cs
- RoutedEventHandlerInfo.cs
- TcpTransportElement.cs
- Barrier.cs
- TrustManager.cs
- XmlCharType.cs
- uribuilder.cs
- TextEffect.cs
- ResourceExpressionBuilder.cs
- WebPartManagerInternals.cs