Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / MaskInputRejectedEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SourceSwitch.cs
- JoinCqlBlock.cs
- XmlComment.cs
- ModelEditingScope.cs
- AcceleratedTokenProviderState.cs
- DateTimeAutomationPeer.cs
- WithParamAction.cs
- NumericPagerField.cs
- BuildProvidersCompiler.cs
- HtmlInputSubmit.cs
- ConnectionManagementSection.cs
- _CookieModule.cs
- SpellerStatusTable.cs
- LineServicesCallbacks.cs
- EntityDataSourceDataSelection.cs
- COM2PictureConverter.cs
- Point3DAnimationUsingKeyFrames.cs
- WindowsTitleBar.cs
- ConnectionManagementElementCollection.cs
- SpellerInterop.cs
- ItemMap.cs
- RankException.cs
- ManipulationDeltaEventArgs.cs
- SimpleHandlerFactory.cs
- TriggerBase.cs
- ValueConversionAttribute.cs
- PropertyBuilder.cs
- OLEDB_Util.cs
- DataBindingCollection.cs
- HtmlProps.cs
- Operand.cs
- ThemeInfoAttribute.cs
- WriteStateInfoBase.cs
- ToolStripItemClickedEventArgs.cs
- PlatformCulture.cs
- _LoggingObject.cs
- AssemblyBuilder.cs
- NativeActivityTransactionContext.cs
- Module.cs
- ExpressionCopier.cs
- HttpApplicationFactory.cs
- util.cs
- XmlDataSourceNodeDescriptor.cs
- ToolBar.cs
- ContextProperty.cs
- ConnectionConsumerAttribute.cs
- Convert.cs
- ErrorProvider.cs
- DynamicPropertyReader.cs
- ToolStripLabel.cs
- ResourceWriter.cs
- SoapMessage.cs
- GenericsInstances.cs
- TableStyle.cs
- MenuItemStyle.cs
- ProfileService.cs
- SpellerHighlightLayer.cs
- ProxyWebPart.cs
- Binding.cs
- RenderDataDrawingContext.cs
- ToolStripControlHost.cs
- HtmlMeta.cs
- TableCellAutomationPeer.cs
- ButtonRenderer.cs
- DynamicScriptObject.cs
- Serialization.cs
- ProcessStartInfo.cs
- IsolatedStorageFileStream.cs
- EmptyStringExpandableObjectConverter.cs
- DynamicDataRouteHandler.cs
- RuleProcessor.cs
- DelayedRegex.cs
- SafeReversePInvokeHandle.cs
- PreviewControlDesigner.cs
- ZipIOExtraField.cs
- EntityDataSourceWrapper.cs
- TrackingRecord.cs
- Menu.cs
- ReadOnlyAttribute.cs
- WebDisplayNameAttribute.cs
- securitycriticaldataClass.cs
- PeerNearMe.cs
- TdsParserStateObject.cs
- ChannelDispatcher.cs
- SQLRoleProvider.cs
- PropertyPathConverter.cs
- ValidatedControlConverter.cs
- ExpanderAutomationPeer.cs
- PartialArray.cs
- MemoryStream.cs
- InfoCardRSACryptoProvider.cs
- JsonServiceDocumentSerializer.cs
- ComboBoxItem.cs
- ToolStripComboBox.cs
- DataGrid.cs
- PrimitiveList.cs
- SqlXmlStorage.cs
- QilIterator.cs
- Int16Animation.cs
- RequiredArgumentAttribute.cs