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
- CustomMenuItemCollection.cs
- UndirectedGraph.cs
- WindowsScrollBarBits.cs
- ToolbarAUtomationPeer.cs
- ChangeConflicts.cs
- StringDictionary.cs
- TreeView.cs
- OdbcPermission.cs
- DecimalConverter.cs
- SqlInternalConnectionSmi.cs
- VisualTreeHelper.cs
- WindowsScrollBarBits.cs
- ColorDialog.cs
- ClientProxyGenerator.cs
- AmbientLight.cs
- BamlResourceSerializer.cs
- ReturnType.cs
- ListBindingConverter.cs
- TabItemWrapperAutomationPeer.cs
- PeerNodeTraceRecord.cs
- ExpressionNormalizer.cs
- filewebresponse.cs
- FormsAuthenticationModule.cs
- TaiwanCalendar.cs
- WebColorConverter.cs
- CodeAttributeDeclaration.cs
- SamlDelegatingWriter.cs
- ConditionBrowserDialog.cs
- EmbeddedObject.cs
- Cursors.cs
- HostingEnvironmentSection.cs
- IconBitmapDecoder.cs
- CompositeScriptReference.cs
- Geometry3D.cs
- Visitor.cs
- CompiledQueryCacheEntry.cs
- LocalizationComments.cs
- DynamicILGenerator.cs
- CoordinationService.cs
- DataGridViewCellStyleBuilderDialog.cs
- ErrorLog.cs
- BinaryObjectReader.cs
- Vertex.cs
- SqlCommandSet.cs
- DataFieldCollectionEditor.cs
- FillRuleValidation.cs
- QilIterator.cs
- GridToolTip.cs
- DrawingAttributes.cs
- processwaithandle.cs
- IPAddressCollection.cs
- VariableReference.cs
- CodeDOMUtility.cs
- OrthographicCamera.cs
- IDispatchConstantAttribute.cs
- RecognitionEventArgs.cs
- RequestDescription.cs
- StringComparer.cs
- ControlBuilder.cs
- SHA256Managed.cs
- ImageInfo.cs
- QueryableDataSourceHelper.cs
- SamlAssertionKeyIdentifierClause.cs
- ResourceDescriptionAttribute.cs
- JoinGraph.cs
- MetadataHelper.cs
- SQLMembershipProvider.cs
- FileInfo.cs
- SqlGenerator.cs
- BaseTreeIterator.cs
- XmlSiteMapProvider.cs
- PerformanceCounterPermission.cs
- CqlGenerator.cs
- MouseEvent.cs
- NativeMethodsCLR.cs
- XmlSiteMapProvider.cs
- ClipboardData.cs
- ColumnWidthChangingEvent.cs
- TrailingSpaceComparer.cs
- ConnectionConsumerAttribute.cs
- EditorPartChrome.cs
- InvalidEnumArgumentException.cs
- RuntimeConfig.cs
- ListChangedEventArgs.cs
- XmlCustomFormatter.cs
- CommandBinding.cs
- DummyDataSource.cs
- ClientApiGenerator.cs
- SchemaElementLookUpTableEnumerator.cs
- ByteFacetDescriptionElement.cs
- InputLanguageProfileNotifySink.cs
- MethodImplAttribute.cs
- MessageEncodingBindingElement.cs
- ProviderConnectionPoint.cs
- Pointer.cs
- CodeDirectiveCollection.cs
- FormatSettings.cs
- TimeSpanConverter.cs
- XmlLanguageConverter.cs
- SpotLight.cs