Code:
/ DotNET / DotNET / 8.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
- WebRequestModulesSection.cs
- SerializationTrace.cs
- EntityDataSourceDesignerHelper.cs
- StylusEditingBehavior.cs
- LabelAutomationPeer.cs
- EdmTypeAttribute.cs
- LongValidatorAttribute.cs
- DesignTimeValidationFeature.cs
- MessageHeaderT.cs
- RawStylusInputCustomDataList.cs
- RuleSettingsCollection.cs
- DbParameterCollection.cs
- Utils.cs
- UpdateTracker.cs
- UriParserTemplates.cs
- TransactionalPackage.cs
- DefaultPrintController.cs
- SqlUserDefinedAggregateAttribute.cs
- ClaimSet.cs
- PatternMatcher.cs
- UrlPropertyAttribute.cs
- XmlMtomWriter.cs
- DataException.cs
- HtmlButton.cs
- ServiceBehaviorElementCollection.cs
- Configuration.cs
- TrackingDataItem.cs
- PropertyDescriptorCollection.cs
- MethodToken.cs
- ValidatorCollection.cs
- MdImport.cs
- WebBrowserUriTypeConverter.cs
- ManagementOptions.cs
- HandlerMappingMemo.cs
- SafeSystemMetrics.cs
- VBIdentifierDesigner.xaml.cs
- WebBrowserProgressChangedEventHandler.cs
- Point.cs
- ToolStripDesignerUtils.cs
- TimeManager.cs
- NativeMethods.cs
- ComplusTypeValidator.cs
- WorkflowDesigner.cs
- InputScope.cs
- CanonicalFormWriter.cs
- RadioButtonAutomationPeer.cs
- EntityUtil.cs
- AddingNewEventArgs.cs
- ContainerParaClient.cs
- HttpListenerPrefixCollection.cs
- OdbcConnectionFactory.cs
- InternalBufferOverflowException.cs
- KeyValueSerializer.cs
- Error.cs
- ConcurrencyMode.cs
- SafeCryptContextHandle.cs
- CompoundFileDeflateTransform.cs
- CollectionViewSource.cs
- XmlnsCompatibleWithAttribute.cs
- XmlCodeExporter.cs
- UInt32Storage.cs
- DataGridViewCellCancelEventArgs.cs
- WebSysDisplayNameAttribute.cs
- CatalogZoneBase.cs
- PointHitTestResult.cs
- LambdaCompiler.Address.cs
- EmptyStringExpandableObjectConverter.cs
- AttachedAnnotation.cs
- Decimal.cs
- FixedSOMElement.cs
- SoapParser.cs
- AppSettingsExpressionBuilder.cs
- MaterialGroup.cs
- XmlComplianceUtil.cs
- Decorator.cs
- PanelStyle.cs
- ProfessionalColorTable.cs
- NodeLabelEditEvent.cs
- SQLBoolean.cs
- LexicalChunk.cs
- StringSource.cs
- RawStylusInputCustomDataList.cs
- EntityDataSourceColumn.cs
- CharacterShapingProperties.cs
- XamlFigureLengthSerializer.cs
- HttpHandlersSection.cs
- ConfigurationPropertyCollection.cs
- _ChunkParse.cs
- CursorConverter.cs
- EnvelopedPkcs7.cs
- InsufficientMemoryException.cs
- WebBaseEventKeyComparer.cs
- ActivityPreviewDesigner.cs
- Query.cs
- RestHandler.cs
- KerberosReceiverSecurityToken.cs
- DebugHandleTracker.cs
- CanonicalFontFamilyReference.cs
- ClientData.cs
- ByteViewer.cs