Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / MaskInputRejectedEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ActivityExecutorSurrogate.cs
- XmlDocument.cs
- TextTrailingCharacterEllipsis.cs
- ImageAutomationPeer.cs
- MappingException.cs
- Polygon.cs
- RepeaterItemEventArgs.cs
- ClientConfigurationSystem.cs
- safelinkcollection.cs
- ZoneButton.cs
- SurrogateEncoder.cs
- RtType.cs
- DelayedRegex.cs
- ThreadPool.cs
- ObsoleteAttribute.cs
- ImageListDesigner.cs
- NamespaceInfo.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Site.cs
- RevocationPoint.cs
- PropVariant.cs
- LinearGradientBrush.cs
- PropVariant.cs
- ALinqExpressionVisitor.cs
- OneToOneMappingSerializer.cs
- InputLangChangeEvent.cs
- HttpWriter.cs
- DesignerAutoFormatCollection.cs
- OdbcInfoMessageEvent.cs
- FrugalMap.cs
- WindowsAuthenticationModule.cs
- SchemaLookupTable.cs
- CqlWriter.cs
- IERequestCache.cs
- TextProperties.cs
- DateTimeConstantAttribute.cs
- SizeConverter.cs
- BinaryObjectWriter.cs
- BulletDecorator.cs
- XmlLanguageConverter.cs
- LocalBuilder.cs
- WebReference.cs
- IdentityReference.cs
- HtmlTableCellCollection.cs
- CompiledRegexRunner.cs
- SoapParser.cs
- AttributeUsageAttribute.cs
- WSDualHttpBindingElement.cs
- StylusOverProperty.cs
- RTLAwareMessageBox.cs
- StreamWriter.cs
- TablePatternIdentifiers.cs
- CustomErrorCollection.cs
- OrthographicCamera.cs
- StringDictionaryEditor.cs
- NumberFormatter.cs
- CuspData.cs
- AppSettingsExpressionBuilder.cs
- WmpBitmapDecoder.cs
- CollectionChange.cs
- SelectionItemProviderWrapper.cs
- FaultBookmark.cs
- DocumentXPathNavigator.cs
- ClearTypeHintValidation.cs
- TerminatorSinks.cs
- DataGridViewEditingControlShowingEventArgs.cs
- Vector3dCollection.cs
- Track.cs
- Sentence.cs
- InputBinder.cs
- RuntimeResourceSet.cs
- SafeIUnknown.cs
- ButtonField.cs
- StrongNameUtility.cs
- RubberbandSelector.cs
- NoResizeSelectionBorderGlyph.cs
- exports.cs
- TraceSwitch.cs
- DataGridViewRowCollection.cs
- ByteStack.cs
- WorkflowIdleElement.cs
- ToolStripPanelCell.cs
- KeyNotFoundException.cs
- ipaddressinformationcollection.cs
- HyperLinkField.cs
- Int32AnimationUsingKeyFrames.cs
- Rectangle.cs
- EncoderParameters.cs
- RuleRef.cs
- MbpInfo.cs
- AsyncDataRequest.cs
- MD5.cs
- WrappedDispatcherException.cs
- NamespaceEmitter.cs
- ToolStrip.cs
- App.cs
- NavigationWindow.cs
- ListView.cs
- CharConverter.cs
- Application.cs