Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TypeValidationEventArgs.cs / 1305376 / TypeValidationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ////// TypeValidationEventArgs. Provides data for the TypeValidationEventHandler event. /// public class TypeValidationEventArgs : EventArgs { private Type validatingType; private string message; private bool isValidInput; private object returnValue; private bool cancel; public TypeValidationEventArgs(Type validatingType, bool isValidInput, object returnValue, string message) { this.validatingType = validatingType; this.isValidInput = isValidInput; this.returnValue = returnValue; this.message = message; } ////// Specifies whether focus should be allowed to be shifted from the control. /// public bool Cancel { get { return this.cancel; } set { this.cancel = value; } } ////// The exception thrown by the validating object while performing the data validation. /// public bool IsValidInput { get { return this.isValidInput; } } ////// A message about the validation operation. Intended to be populated with an exception information if /// any thrown. /// public string Message { get { return this.message; } } ////// The value returned from the Parse method. /// public object ReturnValue { get { return this.returnValue; } } ////// The position where the test failed the mask constraint. /// public Type ValidatingType { get { return this.validatingType; } } } } // 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
- BitVector32.cs
- SymbolDocumentInfo.cs
- XmlSerializerFactory.cs
- securitycriticaldataformultiplegetandset.cs
- OrderByExpression.cs
- documentation.cs
- TranslateTransform3D.cs
- TextEncodedRawTextWriter.cs
- WebPartEditorCancelVerb.cs
- ItemList.cs
- Transform3DGroup.cs
- XmlSchemaValidationException.cs
- BaseResourcesBuildProvider.cs
- SelectionProviderWrapper.cs
- WebPartsPersonalizationAuthorization.cs
- XmlTypeAttribute.cs
- EventData.cs
- EncodingNLS.cs
- CoreChannel.cs
- BaseParser.cs
- PreApplicationStartMethodAttribute.cs
- DesignTimeVisibleAttribute.cs
- Font.cs
- WebPartDisplayModeCancelEventArgs.cs
- BinaryMethodMessage.cs
- DocumentReference.cs
- HttpPostedFile.cs
- DefinitionProperties.cs
- DataBoundLiteralControl.cs
- SmtpTransport.cs
- assertwrapper.cs
- CodeDomLoader.cs
- XamlReaderConstants.cs
- ObjectContext.cs
- UnknownWrapper.cs
- ListBox.cs
- SelectionBorderGlyph.cs
- ObjectManager.cs
- BooleanToVisibilityConverter.cs
- BuildManager.cs
- FileLevelControlBuilderAttribute.cs
- ResXBuildProvider.cs
- DeobfuscatingStream.cs
- BuildProviderCollection.cs
- util.cs
- EventHandlerList.cs
- MatrixStack.cs
- SequentialOutput.cs
- InlineUIContainer.cs
- StringUtil.cs
- InstanceData.cs
- CompilerParameters.cs
- EntityDataSourceWrapper.cs
- GridViewCommandEventArgs.cs
- ReversePositionQuery.cs
- SHA384.cs
- StartUpEventArgs.cs
- GridProviderWrapper.cs
- AppDomainAttributes.cs
- ThousandthOfEmRealPoints.cs
- RenderCapability.cs
- DataListItemEventArgs.cs
- BaseResourcesBuildProvider.cs
- LogicalCallContext.cs
- Signature.cs
- RadioButton.cs
- DrawingGroup.cs
- MethodCallConverter.cs
- Preprocessor.cs
- SqlUserDefinedAggregateAttribute.cs
- XmlAtomicValue.cs
- XamlFigureLengthSerializer.cs
- Parameter.cs
- NodeInfo.cs
- WebPartConnectionsEventArgs.cs
- UnsafeNativeMethods.cs
- PolyLineSegmentFigureLogic.cs
- ProcessDesigner.cs
- RegionData.cs
- TiffBitmapDecoder.cs
- BitmapData.cs
- SecurityIdentifierConverter.cs
- IdentityModelStringsVersion1.cs
- HierarchicalDataSourceControl.cs
- JpegBitmapDecoder.cs
- FixedSOMTable.cs
- SystemIPInterfaceProperties.cs
- TextEndOfParagraph.cs
- StylusPlugin.cs
- NativeMethods.cs
- XmlSchemaExternal.cs
- CodeComment.cs
- ButtonChrome.cs
- DecodeHelper.cs
- UnsafeNativeMethods.cs
- WebColorConverter.cs
- InternalEnumValidatorAttribute.cs
- ConfigXmlWhitespace.cs
- IgnoreFileBuildProvider.cs
- TableMethodGenerator.cs