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
- ApplicationTrust.cs
- objectquery_tresulttype.cs
- GradientStop.cs
- AuthenticateEventArgs.cs
- KeyedCollection.cs
- BitmapEffectDrawingContextWalker.cs
- mda.cs
- SqlCacheDependency.cs
- CodeTryCatchFinallyStatement.cs
- DispatchChannelSink.cs
- safex509handles.cs
- XPathSelectionIterator.cs
- documentation.cs
- RectangleConverter.cs
- SymLanguageType.cs
- CommandConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- GeneratedView.cs
- QueryParameter.cs
- SerTrace.cs
- TransformValueSerializer.cs
- MessageSecurityOverTcp.cs
- XPathAxisIterator.cs
- HtmlInputControl.cs
- ImageSource.cs
- SqlCrossApplyToCrossJoin.cs
- DataObjectEventArgs.cs
- DataGridToolTip.cs
- CodeGeneratorOptions.cs
- ReachPageContentCollectionSerializerAsync.cs
- Base64Encoder.cs
- LineProperties.cs
- TabControlCancelEvent.cs
- AspNetHostingPermission.cs
- ColorConverter.cs
- DataQuery.cs
- TreeViewHitTestInfo.cs
- TargetException.cs
- WebPartVerb.cs
- OpenTypeCommon.cs
- ConstraintManager.cs
- BitStack.cs
- SqlConnectionPoolProviderInfo.cs
- ListViewCancelEventArgs.cs
- DiagnosticStrings.cs
- ButtonColumn.cs
- XmlTypeAttribute.cs
- ByteStack.cs
- Bits.cs
- RenderOptions.cs
- Publisher.cs
- PingOptions.cs
- Partitioner.cs
- SamlConstants.cs
- NativeMethods.cs
- SimpleRecyclingCache.cs
- SecurityUtils.cs
- ISFClipboardData.cs
- LockCookie.cs
- SemanticKeyElement.cs
- EntityTypeBase.cs
- TimeSpanValidator.cs
- CryptoHandle.cs
- SafeFileMappingHandle.cs
- DotExpr.cs
- CheckPair.cs
- CalendarData.cs
- BasicBrowserDialog.cs
- WebHttpElement.cs
- Interfaces.cs
- EnumBuilder.cs
- ToolboxItemCollection.cs
- ListDictionaryInternal.cs
- ToolStripPanelRow.cs
- __Error.cs
- NamespaceDisplayAutomationPeer.cs
- XmlSchemaAnnotation.cs
- SystemIPGlobalProperties.cs
- WindowsGraphics.cs
- ShellProvider.cs
- LinkButton.cs
- DataGridViewTextBoxColumn.cs
- EventDescriptorCollection.cs
- TextEditorSelection.cs
- ObservableCollection.cs
- RenderData.cs
- SafeSecurityHelper.cs
- DBDataPermissionAttribute.cs
- ObjectSet.cs
- PreviewPrintController.cs
- TabRenderer.cs
- ClientRoleProvider.cs
- EdmProviderManifest.cs
- DrawingGroup.cs
- OracleInternalConnection.cs
- TitleStyle.cs
- StrongNameMembershipCondition.cs
- OdbcConnectionString.cs
- IODescriptionAttribute.cs
- TypeGeneratedEventArgs.cs