Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- HttpRawResponse.cs
- CallContext.cs
- ComboBoxRenderer.cs
- ListViewUpdatedEventArgs.cs
- SqlAggregateChecker.cs
- State.cs
- configsystem.cs
- ParallelTimeline.cs
- DbDataRecord.cs
- CalloutQueueItem.cs
- XPathDocumentNavigator.cs
- EmissiveMaterial.cs
- AssemblyBuilderData.cs
- ThreadSafeList.cs
- BuildResultCache.cs
- SoapIncludeAttribute.cs
- PenThread.cs
- JournalEntryStack.cs
- CheckBox.cs
- ErasingStroke.cs
- ReadOnlyMetadataCollection.cs
- CompilerHelpers.cs
- SerializationInfoEnumerator.cs
- BreakRecordTable.cs
- SQlBooleanStorage.cs
- MergeFilterQuery.cs
- OutputCacheModule.cs
- TemplateControlBuildProvider.cs
- TypeToken.cs
- DataGridViewCellLinkedList.cs
- RoutedEventValueSerializer.cs
- XPathScanner.cs
- Privilege.cs
- XmlElementList.cs
- CodeExpressionCollection.cs
- GenericTypeParameterConverter.cs
- PointValueSerializer.cs
- ButtonBaseAdapter.cs
- XmlNamespaceMapping.cs
- DeviceContexts.cs
- RowUpdatingEventArgs.cs
- DataView.cs
- IDQuery.cs
- ExtenderProvidedPropertyAttribute.cs
- FacetDescription.cs
- StateDesignerConnector.cs
- XsdBuildProvider.cs
- ObjectDataSourceView.cs
- PrintingPermission.cs
- MessageDecoder.cs
- UpdatePanelControlTrigger.cs
- CodeAttributeArgument.cs
- ClassData.cs
- NullableIntMinMaxAggregationOperator.cs
- WebEvents.cs
- AssemblyBuilder.cs
- GrammarBuilderBase.cs
- DispatchWrapper.cs
- ToolStripDropDownClosedEventArgs.cs
- SessionMode.cs
- Rect.cs
- _HelperAsyncResults.cs
- UserControlDesigner.cs
- LineServicesCallbacks.cs
- EvidenceBase.cs
- CompressedStack.cs
- XmlUtf8RawTextWriter.cs
- PartitionedDataSource.cs
- CodeTypeReferenceCollection.cs
- DataExpression.cs
- ListViewSortEventArgs.cs
- RightsManagementSuppressedStream.cs
- RegexInterpreter.cs
- ServiceModelStringsVersion1.cs
- AssemblyGen.cs
- DynamicHyperLink.cs
- TextEditorDragDrop.cs
- mediaclock.cs
- ChtmlTextWriter.cs
- SerializationSectionGroup.cs
- WebDisplayNameAttribute.cs
- BulletDecorator.cs
- FileFormatException.cs
- _FtpDataStream.cs
- DragEvent.cs
- SerializationException.cs
- EntityDataSourceWizardForm.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- MemberAccessException.cs
- SqlCommand.cs
- ToolboxItemAttribute.cs
- CompositionTarget.cs
- WindowsGrip.cs
- CompilationLock.cs
- PropertyMapper.cs
- IndependentAnimationStorage.cs
- ActivityPropertyReference.cs
- WebPartDisplayModeCancelEventArgs.cs
- FontFamily.cs