Code:
/ FX-1434 / FX-1434 / 1.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
- BooleanAnimationBase.cs
- ModulesEntry.cs
- InheritanceAttribute.cs
- UTF32Encoding.cs
- RowToParametersTransformer.cs
- Animatable.cs
- FloaterParagraph.cs
- CatalogPartChrome.cs
- AutoResizedEvent.cs
- RuleEngine.cs
- SqlEnums.cs
- RuleInfoComparer.cs
- PtsHelper.cs
- Vector3D.cs
- SamlSubjectStatement.cs
- EndpointAddressElementBase.cs
- LinqDataSourceEditData.cs
- HtmlWindow.cs
- CommandCollectionEditor.cs
- CellRelation.cs
- shaper.cs
- DBConnection.cs
- HiddenFieldPageStatePersister.cs
- HtmlInputImage.cs
- FrameworkContentElement.cs
- UriParserTemplates.cs
- securitymgrsite.cs
- UriPrefixTable.cs
- WebServiceEnumData.cs
- MissingSatelliteAssemblyException.cs
- BooleanAnimationUsingKeyFrames.cs
- CallId.cs
- RemoveStoryboard.cs
- PerformanceCounterManager.cs
- XmlUtilWriter.cs
- TransformPattern.cs
- HierarchicalDataBoundControl.cs
- X509SubjectKeyIdentifierClause.cs
- DependencyObjectType.cs
- NamedPipeHostedTransportConfiguration.cs
- EdmItemError.cs
- AutomationPattern.cs
- DecoderFallback.cs
- GetKeyedHashRequest.cs
- Pair.cs
- UserControl.cs
- BitmapEffectrendercontext.cs
- ConfigPathUtility.cs
- ObjectViewQueryResultData.cs
- ContainerControl.cs
- XmlAnyAttributeAttribute.cs
- HyperlinkAutomationPeer.cs
- DrawingState.cs
- AsymmetricAlgorithm.cs
- CqlLexer.cs
- SQLInt64Storage.cs
- TransformerTypeCollection.cs
- SpStreamWrapper.cs
- FontEmbeddingManager.cs
- SQLDateTimeStorage.cs
- TrackBarRenderer.cs
- PagesChangedEventArgs.cs
- FileVersionInfo.cs
- CreateUserWizardStep.cs
- MissingFieldException.cs
- ClientSettingsSection.cs
- BoundConstants.cs
- XamlGridLengthSerializer.cs
- OdbcConnectionFactory.cs
- StreamGeometry.cs
- Marshal.cs
- SqlNodeAnnotation.cs
- SecurityPolicySection.cs
- IsolatedStoragePermission.cs
- WebPartAuthorizationEventArgs.cs
- PrivilegedConfigurationManager.cs
- StringExpressionSet.cs
- BufferModeSettings.cs
- DoubleLinkList.cs
- SafeFileMappingHandle.cs
- CaseInsensitiveComparer.cs
- SafePipeHandle.cs
- SecurityHelper.cs
- NamedPipeTransportSecurityElement.cs
- DbProviderFactoriesConfigurationHandler.cs
- PreservationFileWriter.cs
- PhysicalFontFamily.cs
- HashCodeCombiner.cs
- ProcessHostConfigUtils.cs
- DriveNotFoundException.cs
- ConstrainedGroup.cs
- KeyValueInternalCollection.cs
- SessionStateSection.cs
- UniformGrid.cs
- GcHandle.cs
- WebAdminConfigurationHelper.cs
- HtmlTernaryTree.cs
- SafeFileMappingHandle.cs
- IpcClientManager.cs
- CategoryNameCollection.cs