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
- ArraySet.cs
- CodeArgumentReferenceExpression.cs
- DbConnectionHelper.cs
- OlePropertyStructs.cs
- TogglePattern.cs
- RoutedCommand.cs
- Opcode.cs
- OLEDB_Enum.cs
- ReaderWriterLock.cs
- Matrix3D.cs
- ImageMap.cs
- SmtpNtlmAuthenticationModule.cs
- DataGridRowHeaderAutomationPeer.cs
- MemoryPressure.cs
- HelpInfo.cs
- DBNull.cs
- XmlExpressionDumper.cs
- ArrangedElement.cs
- TableRowCollection.cs
- MenuItem.cs
- DataGridViewCell.cs
- BindingNavigator.cs
- ToolboxComponentsCreatedEventArgs.cs
- SqlBinder.cs
- XmlSignatureProperties.cs
- ConstraintEnumerator.cs
- ExternalFile.cs
- XmlSchemaElement.cs
- ConnectionManagementSection.cs
- QuaternionKeyFrameCollection.cs
- Line.cs
- WriteTimeStream.cs
- ComplexTypeEmitter.cs
- SqlDeflator.cs
- Evidence.cs
- WindowsIPAddress.cs
- FlowDocument.cs
- PtsContext.cs
- GridView.cs
- StringUtil.cs
- Utils.cs
- ConfigurationCollectionAttribute.cs
- DropSource.cs
- TranslateTransform3D.cs
- ComplexObject.cs
- ConfigurationPropertyAttribute.cs
- ImmutableObjectAttribute.cs
- TabControl.cs
- MSAAEventDispatcher.cs
- SecurityChannelFactory.cs
- UIElementParaClient.cs
- XmlElementList.cs
- DoubleConverter.cs
- DataContext.cs
- InfocardExtendedInformationCollection.cs
- PersonalizableAttribute.cs
- MbpInfo.cs
- DataGridColumn.cs
- VirtualPath.cs
- SmtpNetworkElement.cs
- PropertyPushdownHelper.cs
- CodeGenHelper.cs
- PlatformCulture.cs
- SparseMemoryStream.cs
- sqlstateclientmanager.cs
- DataServicePagingProviderWrapper.cs
- ListViewInsertedEventArgs.cs
- SingleQueryOperator.cs
- CardSpaceException.cs
- TextEditorMouse.cs
- BitConverter.cs
- AssemblyNameEqualityComparer.cs
- ActivationServices.cs
- ModelPerspective.cs
- SafeEventLogReadHandle.cs
- OciEnlistContext.cs
- DataGrid.cs
- InvokeWebService.cs
- SerializationHelper.cs
- ResourceExpression.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Exceptions.cs
- DataGridViewAccessibleObject.cs
- Operators.cs
- GridPatternIdentifiers.cs
- CapabilitiesAssignment.cs
- DocumentReferenceCollection.cs
- TextEffectCollection.cs
- StorageModelBuildProvider.cs
- SelectedPathEditor.cs
- _DigestClient.cs
- PrintPreviewGraphics.cs
- TableParagraph.cs
- IisTraceListener.cs
- TextBreakpoint.cs
- Debugger.cs
- FacetValues.cs
- ControlPersister.cs
- DataGridViewCellValidatingEventArgs.cs
- GeometryValueSerializer.cs