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
- BitmapMetadataEnumerator.cs
- WebException.cs
- DataControlCommands.cs
- TransactionContextManager.cs
- XmlAnyElementAttribute.cs
- XmlHierarchicalDataSourceView.cs
- ExpandableObjectConverter.cs
- CqlIdentifiers.cs
- GenericPrincipal.cs
- EntityCommandExecutionException.cs
- DrawingCollection.cs
- WindowsGraphics.cs
- MatrixValueSerializer.cs
- ToolboxItemImageConverter.cs
- PropertyGeneratedEventArgs.cs
- GenericEnumerator.cs
- CompositionTarget.cs
- DeobfuscatingStream.cs
- ProfileSection.cs
- AutoSizeComboBox.cs
- MappingItemCollection.cs
- PrivilegeNotHeldException.cs
- FloaterParagraph.cs
- SkipQueryOptionExpression.cs
- ToolTip.cs
- AxImporter.cs
- IntSecurity.cs
- HtmlTableRow.cs
- CommonXSendMessage.cs
- MaskedTextBoxDesigner.cs
- AssemblyLoader.cs
- BinaryObjectReader.cs
- DataGridRowClipboardEventArgs.cs
- PropertyTabChangedEvent.cs
- EntityDataSourceState.cs
- AmbientLight.cs
- PropertyPath.cs
- EventBuilder.cs
- ItemType.cs
- DataPagerFieldItem.cs
- RawKeyboardInputReport.cs
- WebScriptServiceHost.cs
- ProfilePropertySettingsCollection.cs
- ColumnMapCopier.cs
- InputLanguage.cs
- Operator.cs
- DocumentPageHost.cs
- Html32TextWriter.cs
- MessageDesigner.cs
- ImageSourceValueSerializer.cs
- DbConnectionFactory.cs
- TraceXPathNavigator.cs
- XmlNodeChangedEventArgs.cs
- ListViewInsertEventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- PageFunction.cs
- RC2CryptoServiceProvider.cs
- FolderBrowserDialog.cs
- HttpListenerRequestTraceRecord.cs
- BindingWorker.cs
- FormViewUpdatedEventArgs.cs
- pingexception.cs
- SortDescriptionCollection.cs
- XmlSignatureProperties.cs
- Vector3DCollection.cs
- Codec.cs
- XmlSchemaAttributeGroupRef.cs
- Win32Native.cs
- WebCategoryAttribute.cs
- CheckBoxFlatAdapter.cs
- BufferBuilder.cs
- ArraySegment.cs
- InterleavedZipPartStream.cs
- InstalledFontCollection.cs
- FlowPosition.cs
- TypedReference.cs
- TagNameToTypeMapper.cs
- SingleObjectCollection.cs
- GeneralTransform.cs
- CaseInsensitiveHashCodeProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Parameter.cs
- StorageSetMapping.cs
- PageAdapter.cs
- WeakReferenceEnumerator.cs
- PerfService.cs
- CookielessHelper.cs
- BorderSidesEditor.cs
- SimpleModelProvider.cs
- DataServiceClientException.cs
- CompilerTypeWithParams.cs
- TitleStyle.cs
- PaperSize.cs
- SchemaCollectionPreprocessor.cs
- StoragePropertyMapping.cs
- TransformerInfoCollection.cs
- Ref.cs
- basecomparevalidator.cs
- EventItfInfo.cs