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
- InputMethodStateTypeInfo.cs
- ToolStripSystemRenderer.cs
- StylusCollection.cs
- DefaultMemberAttribute.cs
- IChannel.cs
- HandlerBase.cs
- InteropAutomationProvider.cs
- CanExecuteRoutedEventArgs.cs
- SchemaTableColumn.cs
- DelayedRegex.cs
- DropSource.cs
- AuthenticateEventArgs.cs
- ContentIterators.cs
- SharedPerformanceCounter.cs
- ZipIOModeEnforcingStream.cs
- StatusBarItemAutomationPeer.cs
- Object.cs
- SqlCacheDependencyDatabaseCollection.cs
- RelatedView.cs
- RequestTimeoutManager.cs
- DataMisalignedException.cs
- DropShadowEffect.cs
- TdsParserStaticMethods.cs
- CapabilitiesAssignment.cs
- JsonFormatReaderGenerator.cs
- ContainerControlDesigner.cs
- RegexCharClass.cs
- DataGridViewToolTip.cs
- ToolStripControlHost.cs
- ConditionalDesigner.cs
- ConnectionPointConverter.cs
- PerformanceCounterPermissionEntry.cs
- ToggleButton.cs
- TextEndOfLine.cs
- embossbitmapeffect.cs
- Light.cs
- AssociationSet.cs
- ProviderConnectionPoint.cs
- CopyAction.cs
- XmlExtensionFunction.cs
- TextRenderingModeValidation.cs
- SingleKeyFrameCollection.cs
- EndpointAddressMessageFilterTable.cs
- FixedTextBuilder.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- BackgroundWorker.cs
- CompilationRelaxations.cs
- Evidence.cs
- OdbcError.cs
- GeometryConverter.cs
- TemplateXamlTreeBuilder.cs
- OptimizedTemplateContentHelper.cs
- documentsequencetextcontainer.cs
- SlipBehavior.cs
- FrameworkTemplate.cs
- MonthChangedEventArgs.cs
- ComponentChangingEvent.cs
- CounterCreationDataCollection.cs
- SmtpAuthenticationManager.cs
- BuildProviderCollection.cs
- DataGridRowAutomationPeer.cs
- PointValueSerializer.cs
- WebRequest.cs
- WebBrowserProgressChangedEventHandler.cs
- GridItemPatternIdentifiers.cs
- ADConnectionHelper.cs
- IndentTextWriter.cs
- CompilerParameters.cs
- Marshal.cs
- DrawingCollection.cs
- LinearKeyFrames.cs
- StreamReader.cs
- Base64Decoder.cs
- LocalizabilityAttribute.cs
- ICollection.cs
- XLinq.cs
- Nodes.cs
- SQLBytes.cs
- HMACMD5.cs
- EdmFunction.cs
- base64Transforms.cs
- ServiceModelConfiguration.cs
- Duration.cs
- AccessDataSource.cs
- BamlCollectionHolder.cs
- PropertyOverridesTypeEditor.cs
- DefaultSettingsSection.cs
- ScriptingAuthenticationServiceSection.cs
- ClientTargetCollection.cs
- TextSimpleMarkerProperties.cs
- CodeMethodMap.cs
- SubMenuStyle.cs
- WebPartsPersonalization.cs
- TreeNodeMouseHoverEvent.cs
- MultiBindingExpression.cs
- ModelItemExtensions.cs
- SHA256Managed.cs
- _AutoWebProxyScriptEngine.cs
- OrderPreservingMergeHelper.cs
- FocusChangedEventArgs.cs