Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AxDesigner.cs
- ObjectListItem.cs
- DataGridViewCellStateChangedEventArgs.cs
- AppDomainManager.cs
- RegionInfo.cs
- SpecialNameAttribute.cs
- CornerRadius.cs
- Int16Storage.cs
- CodePrimitiveExpression.cs
- SerialPinChanges.cs
- FontFaceLayoutInfo.cs
- Triangle.cs
- XhtmlBasicPanelAdapter.cs
- ColumnMapTranslator.cs
- IndividualDeviceConfig.cs
- AuthenticationSection.cs
- x509utils.cs
- DataControlFieldCell.cs
- SQLInt64Storage.cs
- DataGridViewCellLinkedList.cs
- ListChunk.cs
- ButtonFlatAdapter.cs
- RegexInterpreter.cs
- Expression.DebuggerProxy.cs
- BitmapCodecInfoInternal.cs
- SqlDataSourceParameterParser.cs
- FixedSchema.cs
- MeasurementDCInfo.cs
- WsdlExporter.cs
- ComponentChangedEvent.cs
- RC2CryptoServiceProvider.cs
- ChannelTokenTypeConverter.cs
- RotateTransform3D.cs
- LightweightEntityWrapper.cs
- ControlSerializer.cs
- WorkflowInstanceTerminatedRecord.cs
- MimeTypeAttribute.cs
- AssemblyCacheEntry.cs
- PersonalizationProvider.cs
- ToolStripDropDownMenu.cs
- TripleDES.cs
- ParserHooks.cs
- ExtendedProtectionPolicy.cs
- Membership.cs
- DefaultValueTypeConverter.cs
- SystemNetHelpers.cs
- DistributedTransactionPermission.cs
- GridViewAutomationPeer.cs
- UriTemplateMatchException.cs
- _NetRes.cs
- ScriptControlManager.cs
- UnknownBitmapDecoder.cs
- InvalidTimeZoneException.cs
- CategoryGridEntry.cs
- ToolstripProfessionalRenderer.cs
- GradientBrush.cs
- ToolboxComponentsCreatedEventArgs.cs
- Transform3D.cs
- EdmSchemaAttribute.cs
- AstNode.cs
- PropertyEntry.cs
- ComponentCodeDomSerializer.cs
- SpeechAudioFormatInfo.cs
- RtfFormatStack.cs
- ExpressionBuilder.cs
- AsymmetricKeyExchangeFormatter.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlNamespaceMappingCollection.cs
- DataServiceQueryContinuation.cs
- BinaryQueryOperator.cs
- RuntimeConfig.cs
- SettingsBase.cs
- SafeBitVector32.cs
- HtmlButton.cs
- VisualProxy.cs
- ConfigurationManagerHelperFactory.cs
- XmlSchemaImport.cs
- ObjectContextServiceProvider.cs
- SpellerError.cs
- UpWmlMobileTextWriter.cs
- storepermission.cs
- ShutDownListener.cs
- SqlException.cs
- DataGridViewColumn.cs
- VirtualizedCellInfoCollection.cs
- FixedPageAutomationPeer.cs
- SettingsAttributes.cs
- SetterBaseCollection.cs
- DataGridCellsPanel.cs
- TCPClient.cs
- EntityStoreSchemaFilterEntry.cs
- HtmlInputHidden.cs
- PrintPageEvent.cs
- TreeViewImageIndexConverter.cs
- MemberInfoSerializationHolder.cs
- SessionIDManager.cs
- WebPartRestoreVerb.cs
- DataGridPagerStyle.cs
- Image.cs
- ClientProxyGenerator.cs