Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- GraphicsPathIterator.cs
- ProfileSection.cs
- WorkflowServiceHostFactory.cs
- Point4DValueSerializer.cs
- Queue.cs
- AssemblyBuilder.cs
- StringKeyFrameCollection.cs
- AssociatedControlConverter.cs
- LinkDescriptor.cs
- FontNamesConverter.cs
- PermissionToken.cs
- RepeatBehavior.cs
- TextBoxRenderer.cs
- embossbitmapeffect.cs
- SoapAttributeAttribute.cs
- LostFocusEventManager.cs
- WindowsNonControl.cs
- BitmapDownload.cs
- GeometryCombineModeValidation.cs
- DnsEndPoint.cs
- PreviewControlDesigner.cs
- TableStyle.cs
- FacetEnabledSchemaElement.cs
- ParameterToken.cs
- FontEditor.cs
- ListViewTableRow.cs
- _HelperAsyncResults.cs
- XhtmlBasicTextViewAdapter.cs
- XmlValidatingReader.cs
- ListItemCollection.cs
- Zone.cs
- IdleTimeoutMonitor.cs
- WS2007FederationHttpBindingElement.cs
- SiteMapNode.cs
- MouseCaptureWithinProperty.cs
- XXXInfos.cs
- BinaryMessageFormatter.cs
- AcceleratedTokenProviderState.cs
- StringFreezingAttribute.cs
- SQLMoneyStorage.cs
- QilFunction.cs
- PageBuildProvider.cs
- DesignerToolStripControlHost.cs
- InputChannelAcceptor.cs
- WindowsListBox.cs
- ColorConvertedBitmap.cs
- DataSet.cs
- Win32Exception.cs
- RequiredFieldValidator.cs
- KeyedHashAlgorithm.cs
- PackagePart.cs
- TraceRecords.cs
- PermissionListSet.cs
- SqlSelectStatement.cs
- Viewport3DAutomationPeer.cs
- XPathNode.cs
- ListControlBuilder.cs
- TextFormatterImp.cs
- Stream.cs
- StrongNameUtility.cs
- XmlWriter.cs
- Win32PrintDialog.cs
- Debug.cs
- LinqDataSourceDeleteEventArgs.cs
- UnmanagedHandle.cs
- PreservationFileWriter.cs
- TemplateParser.cs
- Rfc2898DeriveBytes.cs
- BinaryQueryOperator.cs
- DataBinder.cs
- MenuTracker.cs
- ContainerVisual.cs
- ProcessModuleCollection.cs
- UriScheme.cs
- ToolStripContentPanelRenderEventArgs.cs
- PropertyKey.cs
- InkCanvasSelectionAdorner.cs
- HTMLTagNameToTypeMapper.cs
- AuthorizationRuleCollection.cs
- HWStack.cs
- StoryFragments.cs
- OpenTypeLayout.cs
- LookupBindingPropertiesAttribute.cs
- DataServiceSaveChangesEventArgs.cs
- ToolStripDropDownItem.cs
- SchemaNames.cs
- ToolStripSeparator.cs
- XsltLibrary.cs
- Encoder.cs
- ToolStripArrowRenderEventArgs.cs
- QueryOutputWriter.cs
- ProvidersHelper.cs
- assemblycache.cs
- CopyNodeSetAction.cs
- MemberDescriptor.cs
- ConfigurationElementProperty.cs
- IdentitySection.cs
- CompilerWrapper.cs
- GestureRecognitionResult.cs
- TextStore.cs