Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- SingleAnimationUsingKeyFrames.cs
- InputLanguageCollection.cs
- MemberPath.cs
- CodeArgumentReferenceExpression.cs
- SweepDirectionValidation.cs
- ExtractedStateEntry.cs
- ServiceDesigner.xaml.cs
- CSharpCodeProvider.cs
- propertytag.cs
- CapabilitiesRule.cs
- SettingsAttributeDictionary.cs
- StringHandle.cs
- CodeDelegateInvokeExpression.cs
- MouseActionConverter.cs
- RijndaelManagedTransform.cs
- XmlSortKeyAccumulator.cs
- sitestring.cs
- RunClient.cs
- SQLChars.cs
- invalidudtexception.cs
- MissingManifestResourceException.cs
- DetailsViewUpdateEventArgs.cs
- SimpleLine.cs
- RotateTransform3D.cs
- MethodImplAttribute.cs
- ExtenderHelpers.cs
- PinnedBufferMemoryStream.cs
- OdbcConnectionHandle.cs
- TransformerTypeCollection.cs
- UnmanagedMarshal.cs
- Button.cs
- ObjectItemAttributeAssemblyLoader.cs
- IfAction.cs
- SqlUserDefinedAggregateAttribute.cs
- SplitContainer.cs
- ConvertEvent.cs
- LinkClickEvent.cs
- Msmq3PoisonHandler.cs
- URLIdentityPermission.cs
- InputEventArgs.cs
- SqlBulkCopyColumnMapping.cs
- SignedXml.cs
- ToolboxComponentsCreatedEventArgs.cs
- StatusBarItem.cs
- InvalidChannelBindingException.cs
- FontDriver.cs
- ExpressionNormalizer.cs
- CodeTypeReferenceExpression.cs
- ECDsaCng.cs
- Helper.cs
- ServiceMoniker.cs
- TypeDelegator.cs
- AddInAdapter.cs
- StringHandle.cs
- ResourceProviderFactory.cs
- DocComment.cs
- Scene3D.cs
- FileDialog.cs
- LineBreak.cs
- BindingContext.cs
- ResourceType.cs
- XmlBinaryReader.cs
- EditorServiceContext.cs
- UndoEngine.cs
- InternalsVisibleToAttribute.cs
- ReceiveContextCollection.cs
- DiscardableAttribute.cs
- ValidatorCompatibilityHelper.cs
- CodeMemberMethod.cs
- LinkLabelLinkClickedEvent.cs
- CmsInterop.cs
- SequentialUshortCollection.cs
- Errors.cs
- StatusBarPanelClickEvent.cs
- Transactions.cs
- SHA512.cs
- ListBindingHelper.cs
- MailMessageEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- Stopwatch.cs
- ConfigXmlElement.cs
- FreezableCollection.cs
- loginstatus.cs
- KernelTypeValidation.cs
- SiteMapSection.cs
- FormsAuthenticationUser.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- ToolStripContainer.cs
- ColumnCollection.cs
- Component.cs
- DataGridViewAccessibleObject.cs
- Types.cs
- EditCommandColumn.cs
- ConfigXmlCDataSection.cs
- ADConnectionHelper.cs
- PhysicalOps.cs
- QuadraticBezierSegment.cs
- MultipleViewProviderWrapper.cs
- EditorBrowsableAttribute.cs
- SchemaImporterExtensionElementCollection.cs