Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewDataErrorEventArgs.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AttachmentService.cs
- SoapExtensionReflector.cs
- TextTreeInsertElementUndoUnit.cs
- RepeatInfo.cs
- FormViewPagerRow.cs
- StyleSelector.cs
- PagesSection.cs
- UnionCqlBlock.cs
- EntityProviderServices.cs
- TransformerInfoCollection.cs
- XmlSerializerAssemblyAttribute.cs
- AttachedPropertyMethodSelector.cs
- ScaleTransform3D.cs
- ExtenderProviderService.cs
- Int32KeyFrameCollection.cs
- SystemEvents.cs
- DispatcherProcessingDisabled.cs
- graph.cs
- categoryentry.cs
- GridViewRowPresenter.cs
- PeerNeighborManager.cs
- RichTextBoxConstants.cs
- CompModSwitches.cs
- ControlTemplate.cs
- ScrollItemPattern.cs
- BulletChrome.cs
- Visual3DCollection.cs
- SqlDataSourceStatusEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- ApplicationCommands.cs
- TextTreeTextNode.cs
- ObjectQueryExecutionPlan.cs
- WhitespaceRuleReader.cs
- SecurityDescriptor.cs
- CollectionViewGroupInternal.cs
- OleDbConnectionInternal.cs
- CodeFieldReferenceExpression.cs
- MasterPageBuildProvider.cs
- MailDefinition.cs
- OdbcCommandBuilder.cs
- SplitterPanelDesigner.cs
- RadioButtonStandardAdapter.cs
- SlipBehavior.cs
- VirtualPath.cs
- Rights.cs
- ArrayConverter.cs
- EventRoute.cs
- FixedPosition.cs
- ComponentEvent.cs
- TrustManagerPromptUI.cs
- FixedTextPointer.cs
- DataGridViewCheckBoxColumn.cs
- PageTheme.cs
- HtmlHistory.cs
- NestedContainer.cs
- __Filters.cs
- SchemaType.cs
- AffineTransform3D.cs
- ValidationSummaryDesigner.cs
- TagPrefixCollection.cs
- LogExtentCollection.cs
- MemoryMappedViewAccessor.cs
- QilPatternVisitor.cs
- DataSetUtil.cs
- IpcServerChannel.cs
- ClassImporter.cs
- CLSCompliantAttribute.cs
- RequestCachePolicy.cs
- TagPrefixAttribute.cs
- SecurityDocument.cs
- CommandTreeTypeHelper.cs
- EntityParameterCollection.cs
- EndCreateSecurityTokenRequest.cs
- ObjectComplexPropertyMapping.cs
- AssociationTypeEmitter.cs
- AttachedPropertiesService.cs
- MouseButtonEventArgs.cs
- ListItemParagraph.cs
- DeferredTextReference.cs
- MethodAccessException.cs
- FindResponse.cs
- WindowsAuthenticationModule.cs
- NameScope.cs
- ValidationSummary.cs
- TreeNodeBindingCollection.cs
- Vector.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- CanonicalFontFamilyReference.cs
- WindowsListBox.cs
- InputLanguageProfileNotifySink.cs
- CounterSetInstance.cs
- LinqDataSourceHelper.cs
- LineInfo.cs
- XmlSerializerAssemblyAttribute.cs
- CompilerError.cs
- BinaryNode.cs
- Vector3DCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Pair.cs
- BaseDataBoundControlDesigner.cs