Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / DataColumnChangeEvent.cs / 1305376 / DataColumnChangeEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; ////// public class DataColumnChangeEventArgs : EventArgs { private readonly DataRow _row; private DataColumn _column; private object _proposedValue; internal DataColumnChangeEventArgs(DataRow row) { _row = row; } ////// Provides data for the ///event. /// /// public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value) { _row = row; _column = column; _proposedValue = value; } ////// Initializes a new instance of the ///class. /// /// public DataColumn Column { get { return _column; } } ///Gets the column whose value is changing. ////// public DataRow Row { get { return _row; } } ///Gets the row whose value is changing. ////// public object ProposedValue { get { return _proposedValue; } set { _proposedValue = value; } } internal void InitializeColumnChangeEvent(DataColumn column, object value) { _column = column; _proposedValue = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets or sets the proposed value. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; ////// public class DataColumnChangeEventArgs : EventArgs { private readonly DataRow _row; private DataColumn _column; private object _proposedValue; internal DataColumnChangeEventArgs(DataRow row) { _row = row; } ////// Provides data for the ///event. /// /// public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value) { _row = row; _column = column; _proposedValue = value; } ////// Initializes a new instance of the ///class. /// /// public DataColumn Column { get { return _column; } } ///Gets the column whose value is changing. ////// public DataRow Row { get { return _row; } } ///Gets the row whose value is changing. ////// public object ProposedValue { get { return _proposedValue; } set { _proposedValue = value; } } internal void InitializeColumnChangeEvent(DataColumn column, object value) { _column = column; _proposedValue = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets or sets the proposed value. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- RuntimeCompatibilityAttribute.cs
- XmlLoader.cs
- CommandDesigner.cs
- UInt32Converter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- GenericUI.cs
- FixedFlowMap.cs
- ImplicitInputBrush.cs
- ContextTokenTypeConverter.cs
- PropertyDescriptorComparer.cs
- AnnotationResourceChangedEventArgs.cs
- X509Extension.cs
- CodeCastExpression.cs
- AccessDataSource.cs
- UInt32Storage.cs
- MessageAction.cs
- GeneralTransformGroup.cs
- Primitive.cs
- externdll.cs
- AllowedAudienceUriElementCollection.cs
- ModulesEntry.cs
- Debug.cs
- DrawingCollection.cs
- PageClientProxyGenerator.cs
- AssemblyHash.cs
- SoapUnknownHeader.cs
- XmlTextAttribute.cs
- TreeView.cs
- FontStretchConverter.cs
- WaitHandleCannotBeOpenedException.cs
- FunctionCommandText.cs
- Rect3D.cs
- XmlWellformedWriterHelpers.cs
- PageVisual.cs
- SynchronizedDispatch.cs
- CheckoutException.cs
- SystemIPInterfaceProperties.cs
- XmlSerializationGeneratedCode.cs
- SiteMapSection.cs
- _ShellExpression.cs
- Comparer.cs
- ObjectReaderCompiler.cs
- Roles.cs
- SystemInfo.cs
- StandardOleMarshalObject.cs
- FormViewDeletedEventArgs.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TypographyProperties.cs
- EventLogSession.cs
- PenLineJoinValidation.cs
- TextBoxBase.cs
- EllipseGeometry.cs
- SQLSingle.cs
- DataGridViewLinkColumn.cs
- HandleExceptionArgs.cs
- ConfigurationStrings.cs
- SystemThemeKey.cs
- SqlDataSourceCustomCommandPanel.cs
- ComponentCommands.cs
- dataprotectionpermission.cs
- TableLayoutCellPaintEventArgs.cs
- LostFocusEventManager.cs
- EventListener.cs
- SchemaSetCompiler.cs
- OleDbParameter.cs
- ReadContentAsBinaryHelper.cs
- RelatedCurrencyManager.cs
- DataBoundControl.cs
- AccessViolationException.cs
- LifetimeMonitor.cs
- PropertyIDSet.cs
- StrongNameIdentityPermission.cs
- DmlSqlGenerator.cs
- ProcessMessagesAsyncResult.cs
- Route.cs
- XmlUTF8TextWriter.cs
- MdiWindowListStrip.cs
- SoapExtension.cs
- DataGridRowsPresenter.cs
- InlineObject.cs
- FileLoadException.cs
- ComponentConverter.cs
- StoreContentChangedEventArgs.cs
- AllMembershipCondition.cs
- Base64Stream.cs
- DataGridViewRowConverter.cs
- Attributes.cs
- SystemIPGlobalStatistics.cs
- ComplexObject.cs
- FormViewPageEventArgs.cs
- SqlClientFactory.cs
- ProxyAssemblyNotLoadedException.cs
- RTLAwareMessageBox.cs
- InheritedPropertyChangedEventArgs.cs
- DesignTimeParseData.cs
- ToolStripGrip.cs
- XmlNamedNodeMap.cs
- XmlCharType.cs
- Image.cs