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
- CheckBoxFlatAdapter.cs
- IndexOutOfRangeException.cs
- RegexCompiler.cs
- RangeBaseAutomationPeer.cs
- VerificationException.cs
- ExtensionCollection.cs
- GroupItemAutomationPeer.cs
- CreateParams.cs
- Axis.cs
- HelloOperation11AsyncResult.cs
- NavigationProgressEventArgs.cs
- DesignerWidgets.cs
- WebPartConnectionsDisconnectVerb.cs
- GroupByExpressionRewriter.cs
- CriticalHandle.cs
- DataGridView.cs
- Update.cs
- ExclusiveTcpListener.cs
- HelpEvent.cs
- EntityDataSourceWrapper.cs
- Misc.cs
- Verify.cs
- Registry.cs
- ImageFormatConverter.cs
- RoleManagerModule.cs
- JsonWriter.cs
- ToolBar.cs
- AsyncDataRequest.cs
- StrokeNode.cs
- JsonFaultDetail.cs
- XamlStyleSerializer.cs
- MatrixTransform.cs
- SimpleMailWebEventProvider.cs
- DefaultHttpHandler.cs
- TimeSpanParse.cs
- DataGridView.cs
- SafeRightsManagementEnvironmentHandle.cs
- DataServices.cs
- SystemResourceKey.cs
- SchemaNames.cs
- ModuleBuilderData.cs
- ObjectStateManager.cs
- EventDescriptor.cs
- BStrWrapper.cs
- HashSet.cs
- ContractMapping.cs
- ExitEventArgs.cs
- FormViewInsertEventArgs.cs
- RemoteWebConfigurationHostServer.cs
- PanningMessageFilter.cs
- ZipIORawDataFileBlock.cs
- WindowsAuthenticationEventArgs.cs
- Help.cs
- TokenBasedSetEnumerator.cs
- WindowsAuthenticationEventArgs.cs
- SizeConverter.cs
- WebPartEditorOkVerb.cs
- UpdateManifestForBrowserApplication.cs
- CharEnumerator.cs
- IODescriptionAttribute.cs
- Attachment.cs
- TableRowCollection.cs
- EditorPartCollection.cs
- WindowsToolbarAsMenu.cs
- ClaimTypeElementCollection.cs
- DataContractSerializerElement.cs
- CommandDevice.cs
- GlyphCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ProxyWebPartConnectionCollection.cs
- DbConnectionPoolGroupProviderInfo.cs
- DetailsViewUpdatedEventArgs.cs
- TimeoutException.cs
- DataQuery.cs
- MsdtcWrapper.cs
- LeaseManager.cs
- RijndaelManagedTransform.cs
- WebPartVerbCollection.cs
- SqlWebEventProvider.cs
- ManagedFilter.cs
- CharacterString.cs
- XmlMapping.cs
- DesignerMetadata.cs
- ClientSponsor.cs
- ResourceIDHelper.cs
- FixedDocumentSequencePaginator.cs
- EventProviderWriter.cs
- sapiproxy.cs
- DataGridViewUtilities.cs
- WebBrowserProgressChangedEventHandler.cs
- ScaleTransform3D.cs
- DataServiceRequest.cs
- SequentialWorkflowRootDesigner.cs
- DecimalKeyFrameCollection.cs
- FontDialog.cs
- DataListGeneralPage.cs
- CapabilitiesAssignment.cs
- BooleanAnimationBase.cs
- GlobalAllocSafeHandle.cs
- AsymmetricKeyExchangeDeformatter.cs