Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeNativeMethods.cs
- SafeEventLogWriteHandle.cs
- StreamWriter.cs
- NetStream.cs
- SignalGate.cs
- SchemaReference.cs
- JournalNavigationScope.cs
- followingquery.cs
- MessageVersionConverter.cs
- TypeConverterHelper.cs
- Sentence.cs
- ComponentResourceKey.cs
- DefaultCommandConverter.cs
- WebPartTransformer.cs
- LocalizationParserHooks.cs
- WebEvents.cs
- Page.cs
- ProxyWebPartManagerDesigner.cs
- ValidationVisibilityAttribute.cs
- RoleGroupCollection.cs
- EntitySet.cs
- SpecularMaterial.cs
- PngBitmapDecoder.cs
- MemoryMappedView.cs
- EditorPartDesigner.cs
- OutputScope.cs
- XXXInfos.cs
- XmlSchemaGroupRef.cs
- ToolStripSeparator.cs
- Underline.cs
- PermissionToken.cs
- XPathDescendantIterator.cs
- TdsParser.cs
- DataRelation.cs
- CommonProperties.cs
- RNGCryptoServiceProvider.cs
- TagNameToTypeMapper.cs
- BatchWriter.cs
- LocalizableAttribute.cs
- Avt.cs
- SizeLimitedCache.cs
- HttpApplicationFactory.cs
- FixedSOMElement.cs
- TextServicesHost.cs
- Update.cs
- SimpleType.cs
- ColumnTypeConverter.cs
- FaultCode.cs
- NonParentingControl.cs
- SynchronousChannel.cs
- DbgCompiler.cs
- Button.cs
- DecimalFormatter.cs
- ResponseBodyWriter.cs
- Keyboard.cs
- InvalidWMPVersionException.cs
- RequestBringIntoViewEventArgs.cs
- ToolStripButton.cs
- MulticastIPAddressInformationCollection.cs
- CommandBindingCollection.cs
- WmpBitmapEncoder.cs
- ImageResources.Designer.cs
- InfocardExtendedInformationCollection.cs
- Context.cs
- DataGridAddNewRow.cs
- ZipIOLocalFileBlock.cs
- ManagedCodeMarkers.cs
- SubclassTypeValidatorAttribute.cs
- PowerModeChangedEventArgs.cs
- FontCacheUtil.cs
- _AutoWebProxyScriptEngine.cs
- SoapIgnoreAttribute.cs
- SQLMoney.cs
- Literal.cs
- CreateUserWizard.cs
- NumberSubstitution.cs
- ToolStripDesignerUtils.cs
- NullExtension.cs
- TreeWalkHelper.cs
- CommonRemoteMemoryBlock.cs
- HashCodeCombiner.cs
- XmlNavigatorStack.cs
- DataListItemEventArgs.cs
- PDBReader.cs
- FileDialogPermission.cs
- GenericUriParser.cs
- TextTreeExtractElementUndoUnit.cs
- BaseTemplateParser.cs
- PenLineJoinValidation.cs
- SmtpLoginAuthenticationModule.cs
- MsmqBindingMonitor.cs
- HandlerFactoryCache.cs
- BaseComponentEditor.cs
- brushes.cs
- PrintDocument.cs
- Padding.cs
- CustomExpressionEventArgs.cs
- QueryException.cs
- LinkLabelLinkClickedEvent.cs
- UrlParameterReader.cs