Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RegionIterator.cs
- X509WindowsSecurityToken.cs
- LicenseContext.cs
- CoTaskMemSafeHandle.cs
- OdbcDataReader.cs
- PolyQuadraticBezierSegment.cs
- Cloud.cs
- DoWorkEventArgs.cs
- MailHeaderInfo.cs
- BoundPropertyEntry.cs
- ModuleBuilder.cs
- VirtualizedItemPattern.cs
- FormatConvertedBitmap.cs
- WebServiceBindingAttribute.cs
- CLSCompliantAttribute.cs
- XmlHierarchicalEnumerable.cs
- UndirectedGraph.cs
- AdditionalEntityFunctions.cs
- ExtractCollection.cs
- ReadOnlyAttribute.cs
- XamlSerializerUtil.cs
- UTF32Encoding.cs
- TreeViewHitTestInfo.cs
- SrgsGrammar.cs
- XmlComment.cs
- ManagementEventArgs.cs
- UnicodeEncoding.cs
- TableCellCollection.cs
- DrawItemEvent.cs
- TextEffect.cs
- PropertyBuilder.cs
- GridToolTip.cs
- SelectionItemProviderWrapper.cs
- ConfigXmlElement.cs
- DataGridViewRowStateChangedEventArgs.cs
- BulletedListEventArgs.cs
- OSFeature.cs
- DesignerActionList.cs
- PointConverter.cs
- DateRangeEvent.cs
- InputBuffer.cs
- StyleModeStack.cs
- infer.cs
- ClientFormsAuthenticationMembershipProvider.cs
- DataControlFieldHeaderCell.cs
- SqlCachedBuffer.cs
- TabItemAutomationPeer.cs
- ExtendedProtectionPolicyTypeConverter.cs
- TextDecorationCollectionConverter.cs
- XmlILConstructAnalyzer.cs
- IsolatedStorageFileStream.cs
- UserPreferenceChangingEventArgs.cs
- AnonymousIdentificationSection.cs
- ImageDesigner.cs
- WorkflowDesignerColors.cs
- DesignerWebPartChrome.cs
- PartDesigner.cs
- ConnectionStringSettingsCollection.cs
- SqlUnionizer.cs
- ClientBuildManager.cs
- TextParagraphProperties.cs
- ServiceOperation.cs
- MobileErrorInfo.cs
- RelOps.cs
- OrderablePartitioner.cs
- WebPartConnectionCollection.cs
- ToolboxControl.cs
- EncoderParameter.cs
- FormView.cs
- AdornedElementPlaceholder.cs
- RuleSettings.cs
- SqlGenerator.cs
- ObjectParameterCollection.cs
- CharacterBuffer.cs
- CopyOfAction.cs
- ToolStripMenuItem.cs
- SafeLocalAllocation.cs
- QuaternionConverter.cs
- ActivityPreviewDesigner.cs
- PathFigureCollectionConverter.cs
- GenerateScriptTypeAttribute.cs
- SafeLibraryHandle.cs
- Triplet.cs
- HttpProfileBase.cs
- AnnotationComponentManager.cs
- PageAdapter.cs
- TextServicesManager.cs
- ParamArrayAttribute.cs
- TextEditorLists.cs
- MsmqInputMessage.cs
- OutputCacheProfile.cs
- ActivitySurrogate.cs
- XsltInput.cs
- SignatureDescription.cs
- PartBasedPackageProperties.cs
- PipeSecurity.cs
- EntityClientCacheKey.cs
- HwndPanningFeedback.cs
- OleDbPermission.cs
- ConfigurationValidatorAttribute.cs