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
- Missing.cs
- Rect3D.cs
- DtrList.cs
- CodeNamespaceCollection.cs
- ApplicationServicesHostFactory.cs
- MetadataPropertyAttribute.cs
- TransformConverter.cs
- ReadContentAsBinaryHelper.cs
- SizeAnimationClockResource.cs
- NavigationProperty.cs
- FlowDecisionLabelFeature.cs
- ByteStreamMessageEncodingElement.cs
- SpecialFolderEnumConverter.cs
- WebPartExportVerb.cs
- DataGridColumnCollection.cs
- FormsAuthenticationUser.cs
- UnknownBitmapDecoder.cs
- ApplicationDirectoryMembershipCondition.cs
- SharedUtils.cs
- OleDbConnectionInternal.cs
- EncoderParameters.cs
- ButtonBase.cs
- EdmToObjectNamespaceMap.cs
- CacheMemory.cs
- AttributedMetaModel.cs
- LinqDataSourceHelper.cs
- DataRecordInternal.cs
- updateconfighost.cs
- DataGridRowHeaderAutomationPeer.cs
- ResourceKey.cs
- HttpListenerRequest.cs
- WindowsStatusBar.cs
- UdpChannelFactory.cs
- XmlWriterTraceListener.cs
- ResourceDictionaryCollection.cs
- StateMachine.cs
- NamespaceEmitter.cs
- WorkflowServiceHostFactory.cs
- TiffBitmapEncoder.cs
- MaterialGroup.cs
- ellipse.cs
- TrustManagerPromptUI.cs
- SecurityUtils.cs
- HtmlObjectListAdapter.cs
- EmptyEnumerable.cs
- RoleServiceManager.cs
- SqlPersonalizationProvider.cs
- Animatable.cs
- StatusBarAutomationPeer.cs
- ControlBindingsCollection.cs
- XmlSchemaSubstitutionGroup.cs
- MethodExpr.cs
- RightsManagementInformation.cs
- XmlNodeList.cs
- ImportFileRequest.cs
- LinqDataView.cs
- CellParaClient.cs
- WeakRefEnumerator.cs
- LocalizableResourceBuilder.cs
- ListItem.cs
- DiscoveryRequestHandler.cs
- SmiSettersStream.cs
- ArgumentOutOfRangeException.cs
- ValidationHelper.cs
- FtpRequestCacheValidator.cs
- DoubleAnimationUsingPath.cs
- IsolationInterop.cs
- xdrvalidator.cs
- ProcessModuleDesigner.cs
- HttpWebRequestElement.cs
- XmlDictionaryWriter.cs
- DataBindingCollection.cs
- ServiceHandle.cs
- DateTimeParse.cs
- OracleConnectionString.cs
- UIPermission.cs
- OdbcUtils.cs
- ExportOptions.cs
- RegisteredScript.cs
- KeyedHashAlgorithm.cs
- MemoryFailPoint.cs
- ModuleElement.cs
- ContainerUtilities.cs
- RunWorkerCompletedEventArgs.cs
- Viewport2DVisual3D.cs
- ByteConverter.cs
- PackUriHelper.cs
- FixedDocumentSequencePaginator.cs
- FontConverter.cs
- SimpleWorkerRequest.cs
- ErasingStroke.cs
- XdrBuilder.cs
- TransportElement.cs
- WmlListAdapter.cs
- ConfigUtil.cs
- TextBoxAutoCompleteSourceConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ActivityTypeDesigner.xaml.cs
- SafeUserTokenHandle.cs
- GlyphInfoList.cs