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
- ClientScriptManager.cs
- ToolStripPanelRow.cs
- DataGridPagerStyle.cs
- ColumnBinding.cs
- AnonymousIdentificationSection.cs
- WindowsGraphicsWrapper.cs
- InputProcessorProfiles.cs
- SchemaElementLookUpTableEnumerator.cs
- ThreadWorkerController.cs
- StructuralType.cs
- Int32RectValueSerializer.cs
- InvalidateEvent.cs
- Animatable.cs
- ImageCodecInfo.cs
- OptimizedTemplateContentHelper.cs
- DSACryptoServiceProvider.cs
- ObjectStateFormatter.cs
- PrincipalPermission.cs
- XmlWrappingReader.cs
- _emptywebproxy.cs
- MemberNameValidator.cs
- UpdatePanelControlTrigger.cs
- ImageSourceValueSerializer.cs
- ListBoxAutomationPeer.cs
- RealizationContext.cs
- FlowDocumentPageViewerAutomationPeer.cs
- StructuralCache.cs
- SystemThemeKey.cs
- ProcessHostConfigUtils.cs
- ObjectConverter.cs
- SoapExtensionImporter.cs
- _LazyAsyncResult.cs
- DateRangeEvent.cs
- MultilineStringConverter.cs
- TcpAppDomainProtocolHandler.cs
- CollectionConverter.cs
- CodeNamespaceImport.cs
- InternalRelationshipCollection.cs
- basevalidator.cs
- TaiwanLunisolarCalendar.cs
- BaseParaClient.cs
- TokenBasedSet.cs
- ElapsedEventArgs.cs
- EntityClassGenerator.cs
- PerfProviderCollection.cs
- InputBuffer.cs
- _BufferOffsetSize.cs
- Viewport2DVisual3D.cs
- VerticalAlignConverter.cs
- Oci.cs
- IProvider.cs
- WorkflowItemsPresenter.cs
- StringArrayConverter.cs
- GridViewDeletedEventArgs.cs
- Menu.cs
- DefaultValueConverter.cs
- XmlWrappingReader.cs
- Rect.cs
- TextBox.cs
- SelectingProviderEventArgs.cs
- DocComment.cs
- Help.cs
- HostingEnvironmentSection.cs
- CmsUtils.cs
- DataKey.cs
- mediaeventargs.cs
- FormViewDeletedEventArgs.cs
- InfiniteTimeSpanConverter.cs
- Int32RectConverter.cs
- DesignerAutoFormat.cs
- BaseParagraph.cs
- sqlpipe.cs
- MemoryResponseElement.cs
- AlignmentXValidation.cs
- ToolboxItem.cs
- MonikerUtility.cs
- XmlSchema.cs
- MessageTransmitTraceRecord.cs
- ElementMarkupObject.cs
- EncodingNLS.cs
- TrackingServices.cs
- Annotation.cs
- SamlConditions.cs
- CalculatedColumn.cs
- UidManager.cs
- SynchronousChannel.cs
- ReverseQueryOperator.cs
- KeyGestureConverter.cs
- ValidationEventArgs.cs
- Buffer.cs
- ResXResourceReader.cs
- BamlRecordWriter.cs
- SystemIPInterfaceStatistics.cs
- MimeFormatExtensions.cs
- ScriptManagerProxy.cs
- GraphicsContainer.cs
- HostProtectionException.cs
- HyperLinkField.cs
- ColumnHeader.cs
- DbProviderSpecificTypePropertyAttribute.cs