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
- Popup.cs
- Screen.cs
- PageCodeDomTreeGenerator.cs
- TiffBitmapEncoder.cs
- StringFreezingAttribute.cs
- SimpleBitVector32.cs
- LinqDataSourceDeleteEventArgs.cs
- EntityCodeGenerator.cs
- RowToFieldTransformer.cs
- InstanceNotReadyException.cs
- regiisutil.cs
- ProcessActivityTreeOptions.cs
- SignatureHelper.cs
- HtmlCalendarAdapter.cs
- COM2PropertyDescriptor.cs
- ScopedKnownTypes.cs
- SQLMoney.cs
- _IPv6Address.cs
- DtdParser.cs
- MarshalByRefObject.cs
- ManagementPath.cs
- RequiredFieldValidator.cs
- VectorCollectionValueSerializer.cs
- ProfileSection.cs
- AnnotationComponentChooser.cs
- WinEventTracker.cs
- SqlDataSource.cs
- UrlAuthFailedErrorFormatter.cs
- CatalogZone.cs
- OutputWindow.cs
- RootBuilder.cs
- TagPrefixAttribute.cs
- StringValidatorAttribute.cs
- assemblycache.cs
- MdiWindowListStrip.cs
- MobileUserControlDesigner.cs
- XmlILConstructAnalyzer.cs
- OledbConnectionStringbuilder.cs
- ListBoxItemWrapperAutomationPeer.cs
- TableSectionStyle.cs
- StreamWriter.cs
- RtfControlWordInfo.cs
- ColumnBinding.cs
- StrokeDescriptor.cs
- ExceptQueryOperator.cs
- PropertyFilter.cs
- CallId.cs
- DataGrid.cs
- ListBox.cs
- XhtmlBasicCommandAdapter.cs
- WebPartTransformer.cs
- LayoutEditorPart.cs
- DecimalConverter.cs
- ListDataBindEventArgs.cs
- ToolStripPanelSelectionBehavior.cs
- BitmapEffectInputConnector.cs
- Popup.cs
- SqlConnectionHelper.cs
- TrustSection.cs
- WinEventTracker.cs
- HasActivatableWorkflowEvent.cs
- DesignerVerb.cs
- ObjectAnimationBase.cs
- SecurityProtocol.cs
- BaseServiceProvider.cs
- StringArrayConverter.cs
- DesignerOptionService.cs
- SqlDuplicator.cs
- ContextMenuAutomationPeer.cs
- RuleSettings.cs
- RIPEMD160.cs
- WebPartUserCapability.cs
- ThreadSafeList.cs
- CodeCommentStatementCollection.cs
- SafeMILHandle.cs
- RemotingConfiguration.cs
- ToolStripDropDownClosedEventArgs.cs
- HashCodeCombiner.cs
- HMAC.cs
- ObjectParameterCollection.cs
- DelegateHelpers.Generated.cs
- BooleanExpr.cs
- DetailsViewUpdateEventArgs.cs
- DataBoundControl.cs
- COM2Enum.cs
- DbConnectionPoolGroup.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TransformGroup.cs
- Cursors.cs
- SqlClientMetaDataCollectionNames.cs
- BuildResultCache.cs
- DatePickerAutomationPeer.cs
- Set.cs
- RenderData.cs
- Transform.cs
- BitmapEffectInputData.cs
- Errors.cs
- hwndwrapper.cs
- CompositeDuplexBindingElement.cs
- MultipartIdentifier.cs