Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewDataErrorEventArgs.cs / 1305376 / DataGridViewDataErrorEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Drawing; using System.Diagnostics; using System.ComponentModel; ///public class DataGridViewDataErrorEventArgs : DataGridViewCellCancelEventArgs { private Exception exception; private bool throwException; private DataGridViewDataErrorContexts context; /// public DataGridViewDataErrorEventArgs(Exception exception, int columnIndex, int rowIndex, DataGridViewDataErrorContexts context) : base(columnIndex, rowIndex) { Debug.Assert(rowIndex > -1); this.exception = exception; this.context = context; } /// public DataGridViewDataErrorContexts Context { get { return this.context; } } /// public Exception Exception { get { return this.exception; } } /// public bool ThrowException { get { return this.throwException; } set { if (value && this.exception == null) { throw new ArgumentException(SR.GetString(SR.DataGridView_CannotThrowNullException)); } this.throwException = value; } } } } // 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
- XmlWrappingReader.cs
- DoubleLinkList.cs
- AuthenticationService.cs
- Propagator.Evaluator.cs
- WSSecurityPolicy.cs
- ToolStripScrollButton.cs
- MessageSecurityTokenVersion.cs
- QilXmlWriter.cs
- HwndProxyElementProvider.cs
- ToolStripPanelSelectionGlyph.cs
- MetadataItem_Static.cs
- AttachedAnnotationChangedEventArgs.cs
- CodeAccessPermission.cs
- BitmapDownload.cs
- SqlBooleanizer.cs
- CompletedAsyncResult.cs
- ListBoxItemAutomationPeer.cs
- ControlOperationInvoker.cs
- Interop.cs
- XPathPatternBuilder.cs
- RealizationContext.cs
- EventEntry.cs
- StandardOleMarshalObject.cs
- BypassElement.cs
- KnownTypesProvider.cs
- WebServiceBindingAttribute.cs
- XmlSchemaSimpleTypeUnion.cs
- VoiceSynthesis.cs
- ObjectDataSourceSelectingEventArgs.cs
- transactioncontext.cs
- ItemCheckedEvent.cs
- TextRenderer.cs
- EndpointAddressMessageFilterTable.cs
- CodeCastExpression.cs
- PenThread.cs
- CodeGenerator.cs
- FactorySettingsElement.cs
- IconConverter.cs
- ResourceCategoryAttribute.cs
- SettingsBindableAttribute.cs
- GlyphShapingProperties.cs
- BindingListCollectionView.cs
- SqlMultiplexer.cs
- ClassHandlersStore.cs
- ToolboxCategory.cs
- SchemaCollectionPreprocessor.cs
- KnownTypeHelper.cs
- XmlSchemaImport.cs
- ScriptResourceInfo.cs
- OperationResponse.cs
- QilReplaceVisitor.cs
- BaseValidator.cs
- DoubleAnimation.cs
- TypedAsyncResult.cs
- UseAttributeSetsAction.cs
- ParameterCollectionEditor.cs
- TextTreeInsertUndoUnit.cs
- SMSvcHost.cs
- ProcessHostFactoryHelper.cs
- XmlWellformedWriter.cs
- SqlDataSourceFilteringEventArgs.cs
- TextElement.cs
- ClientCultureInfo.cs
- TimeZoneNotFoundException.cs
- HttpWriter.cs
- TemplateBamlTreeBuilder.cs
- WebPartConnection.cs
- IntSecurity.cs
- ExtentKey.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlNotation.cs
- _ConnectStream.cs
- SqlNamer.cs
- EntityModelSchemaGenerator.cs
- OleDbReferenceCollection.cs
- DecimalKeyFrameCollection.cs
- ExecutedRoutedEventArgs.cs
- XPathNavigatorKeyComparer.cs
- ListSortDescriptionCollection.cs
- TagPrefixAttribute.cs
- DataServiceClientException.cs
- EasingQuaternionKeyFrame.cs
- DataGridViewCellLinkedList.cs
- GlyphTypeface.cs
- LineSegment.cs
- OutputCacheSettings.cs
- _TLSstream.cs
- SupportsEventValidationAttribute.cs
- GZipObjectSerializer.cs
- Line.cs
- HttpPostServerProtocol.cs
- MatrixTransform3D.cs
- DecimalMinMaxAggregationOperator.cs
- DefaultParameterValueAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- ResourcesChangeInfo.cs
- SecondaryViewProvider.cs
- SqlInfoMessageEvent.cs
- AutomationPeer.cs
- QuaternionRotation3D.cs