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
- DataGridState.cs
- HwndMouseInputProvider.cs
- GroupBox.cs
- SqlOuterApplyReducer.cs
- ClientUtils.cs
- WebSysDescriptionAttribute.cs
- XmlSchemaSubstitutionGroup.cs
- Vector3DConverter.cs
- ListenerSingletonConnectionReader.cs
- OletxCommittableTransaction.cs
- ActiveXContainer.cs
- WindowsGraphicsCacheManager.cs
- DataGridViewComboBoxEditingControl.cs
- XmlSchemaAnyAttribute.cs
- LambdaCompiler.ControlFlow.cs
- FrameSecurityDescriptor.cs
- HierarchicalDataSourceIDConverter.cs
- ResourceContainer.cs
- DesignerForm.cs
- QilFactory.cs
- RouteParameter.cs
- EventManager.cs
- PerfCounterSection.cs
- ComplexTypeEmitter.cs
- ActionItem.cs
- IisTraceWebEventProvider.cs
- DllNotFoundException.cs
- MenuItemStyleCollection.cs
- XmlSortKey.cs
- SqlSupersetValidator.cs
- ScrollBar.cs
- CommentEmitter.cs
- IdentityModelStringsVersion1.cs
- WebHttpEndpoint.cs
- PositiveTimeSpanValidatorAttribute.cs
- SqlDataSourceFilteringEventArgs.cs
- XamlReaderHelper.cs
- CapabilitiesRule.cs
- Random.cs
- NativeMethods.cs
- PageCodeDomTreeGenerator.cs
- ResourceExpressionBuilder.cs
- XLinq.cs
- LookupBindingPropertiesAttribute.cs
- COM2IDispatchConverter.cs
- PenThreadWorker.cs
- DesigntimeLicenseContextSerializer.cs
- HelpProvider.cs
- WebServiceAttribute.cs
- TextWriterTraceListener.cs
- storepermissionattribute.cs
- ListBoxItemWrapperAutomationPeer.cs
- EdgeModeValidation.cs
- HtmlTitle.cs
- WhitespaceRule.cs
- Rect3DConverter.cs
- SourceSwitch.cs
- FindSimilarActivitiesVerb.cs
- EnvironmentPermission.cs
- ToolStrip.cs
- DocComment.cs
- CallbackHandler.cs
- SQLBinaryStorage.cs
- ListViewItem.cs
- AutoGeneratedFieldProperties.cs
- Win32KeyboardDevice.cs
- DataGridViewComponentPropertyGridSite.cs
- DataGridViewIntLinkedList.cs
- InProcStateClientManager.cs
- InvalidProgramException.cs
- Stack.cs
- StringUtil.cs
- FeatureSupport.cs
- TransformationRules.cs
- TextServicesCompartmentContext.cs
- TextTrailingCharacterEllipsis.cs
- CreateUserErrorEventArgs.cs
- ThreadAttributes.cs
- ReadWriteSpinLock.cs
- Column.cs
- PassportPrincipal.cs
- ToolStripSplitButton.cs
- ErrorEventArgs.cs
- TypeSemantics.cs
- TypeRestriction.cs
- ListDictionary.cs
- CharStorage.cs
- NamedPipeHostedTransportConfiguration.cs
- StringHelper.cs
- fixedPageContentExtractor.cs
- MenuScrollingVisibilityConverter.cs
- LexicalChunk.cs
- BitmapPalettes.cs
- DnsPermission.cs
- ColumnBinding.cs
- GridViewColumnHeaderAutomationPeer.cs
- AggregateNode.cs
- MouseBinding.cs
- ConsoleKeyInfo.cs
- NameGenerator.cs