Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- InvalidPipelineStoreException.cs
- ToolBarButtonClickEvent.cs
- WebConfigurationHost.cs
- UriTemplateMatch.cs
- CookieParameter.cs
- HttpVersion.cs
- Ray3DHitTestResult.cs
- GridViewPageEventArgs.cs
- DbParameterCollection.cs
- ObjectContext.cs
- LeaseManager.cs
- KeyValuePair.cs
- StrongName.cs
- InvalidCommandTreeException.cs
- BamlLocalizableResource.cs
- StylusPlugInCollection.cs
- ProjectionCamera.cs
- WebPartConnectionsCloseVerb.cs
- CodeRegionDirective.cs
- ThreadNeutralSemaphore.cs
- DataGridViewTextBoxEditingControl.cs
- ArrayWithOffset.cs
- XmlQueryTypeFactory.cs
- NonSerializedAttribute.cs
- Version.cs
- EdmType.cs
- WizardPanelChangingEventArgs.cs
- ReachIDocumentPaginatorSerializer.cs
- WinFormsSecurity.cs
- X509IssuerSerialKeyIdentifierClause.cs
- Stacktrace.cs
- x509utils.cs
- SkewTransform.cs
- ShapingWorkspace.cs
- FormsIdentity.cs
- KeyEvent.cs
- ParentQuery.cs
- Transform3DGroup.cs
- HostUtils.cs
- FormViewInsertEventArgs.cs
- SynchronizationValidator.cs
- DataShape.cs
- ColorDialog.cs
- FontStyleConverter.cs
- StructuredType.cs
- SpeechAudioFormatInfo.cs
- Transform.cs
- NonClientArea.cs
- HtmlTitle.cs
- StringFormat.cs
- SystemIPInterfaceProperties.cs
- ReadWriteObjectLock.cs
- CacheVirtualItemsEvent.cs
- NumericUpDownAccelerationCollection.cs
- MarkupObject.cs
- TreeSet.cs
- HtmlTitle.cs
- HtmlElementErrorEventArgs.cs
- XXXInfos.cs
- FragmentQueryProcessor.cs
- VariableQuery.cs
- XmlQueryRuntime.cs
- RtfNavigator.cs
- CharacterHit.cs
- JpegBitmapDecoder.cs
- ImageMapEventArgs.cs
- NativeMethods.cs
- SafeSecurityHelper.cs
- InheritanceRules.cs
- SessionSwitchEventArgs.cs
- SyncOperationState.cs
- CodeExpressionCollection.cs
- TimeZoneNotFoundException.cs
- AppDomainFactory.cs
- ADMembershipUser.cs
- PageAsyncTask.cs
- AdvancedBindingPropertyDescriptor.cs
- ManifestSignedXml.cs
- CreateUserWizardAutoFormat.cs
- XmlNamespaceMappingCollection.cs
- SourceInterpreter.cs
- RoleServiceManager.cs
- UpdateCompiler.cs
- ServiceChannelManager.cs
- CaseStatementSlot.cs
- CultureTableRecord.cs
- HScrollProperties.cs
- SQLMoney.cs
- ComboBox.cs
- IriParsingElement.cs
- AssemblyBuilderData.cs
- followingsibling.cs
- UserControlDocumentDesigner.cs
- DesignerActionPanel.cs
- Columns.cs
- RemotingService.cs
- DataGridCellsPanel.cs
- SolidBrush.cs
- DataStreams.cs
- DataGridItem.cs