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
- InvalidComObjectException.cs
- COM2FontConverter.cs
- XmlSchemas.cs
- ThrowHelper.cs
- TimeSpanConverter.cs
- FullTextState.cs
- wmiprovider.cs
- DnsPermission.cs
- XmlSchemaAny.cs
- TransformPatternIdentifiers.cs
- SettingsSection.cs
- QuotaThrottle.cs
- SystemIcmpV4Statistics.cs
- SymmetricKeyWrap.cs
- WindowShowOrOpenTracker.cs
- PDBReader.cs
- ZipIORawDataFileBlock.cs
- RuntimeUtils.cs
- AmbientValueAttribute.cs
- NopReturnReader.cs
- TreeViewImageKeyConverter.cs
- TypeConstant.cs
- DbXmlEnabledProviderManifest.cs
- EntityDataSourceReferenceGroup.cs
- ProjectionQueryOptionExpression.cs
- LingerOption.cs
- StructuredTypeEmitter.cs
- ToolZone.cs
- PersistStreamTypeWrapper.cs
- OleDbStruct.cs
- CqlGenerator.cs
- TextStore.cs
- ServiceOperationParameter.cs
- TypeLibConverter.cs
- ConfigXmlElement.cs
- RowToFieldTransformer.cs
- ConsumerConnectionPointCollection.cs
- CircleHotSpot.cs
- TreeSet.cs
- PartialArray.cs
- RuleCache.cs
- GenericTypeParameterBuilder.cs
- OdbcEnvironmentHandle.cs
- DomNameTable.cs
- SqlParameterizer.cs
- PointHitTestParameters.cs
- TextChange.cs
- IOThreadTimer.cs
- SharedStatics.cs
- StateManager.cs
- NetworkStream.cs
- SQLDecimalStorage.cs
- Message.cs
- FlowLayoutPanel.cs
- ParserExtension.cs
- LiteralDesigner.cs
- RewritingSimplifier.cs
- PropertyPath.cs
- BinaryObjectReader.cs
- XmlAttributeOverrides.cs
- SqlXmlStorage.cs
- FilteredAttributeCollection.cs
- MetafileHeader.cs
- CodeObjectCreateExpression.cs
- XmlChildEnumerator.cs
- PageThemeParser.cs
- JavaScriptString.cs
- BitmapEffect.cs
- SchemaCollectionCompiler.cs
- MobileErrorInfo.cs
- DiscoveryReferences.cs
- ApplicationException.cs
- TabletCollection.cs
- ArgumentException.cs
- SecurityKeyType.cs
- TempFiles.cs
- ListBox.cs
- DataServiceStreamProviderWrapper.cs
- TableAdapterManagerHelper.cs
- DPTypeDescriptorContext.cs
- MulticastNotSupportedException.cs
- TargetException.cs
- ExpandableObjectConverter.cs
- BuildProvider.cs
- IPGlobalProperties.cs
- EntityDataSourceConfigureObjectContext.cs
- HighlightVisual.cs
- TextClipboardData.cs
- LogLogRecordEnumerator.cs
- ColumnReorderedEventArgs.cs
- FixedSOMLineRanges.cs
- BamlLocalizabilityResolver.cs
- MetabaseServerConfig.cs
- AuthenticationModuleElement.cs
- DataServiceClientException.cs
- OperationAbortedException.cs
- SystemUnicastIPAddressInformation.cs
- precedingquery.cs
- XmlSiteMapProvider.cs
- MissingMethodException.cs