Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / PropertyValueChangedEvent.cs / 1305376 / PropertyValueChangedEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
///
/// The event class that is created when a property
/// in the grid is modified by the user.
///
[System.Runtime.InteropServices.ComVisible(true)]
public class PropertyValueChangedEventArgs : EventArgs {
private readonly GridItem changedItem;
private object oldValue;
///
///
/// Constructor
///
public PropertyValueChangedEventArgs(GridItem changedItem, object oldValue) {
this.changedItem = changedItem;
this.oldValue = oldValue;
}
///
///
/// [To be supplied.]
///
public GridItem ChangedItem {
get {
return changedItem;
}
}
///
///
/// [To be supplied.]
///
public object OldValue {
get {
return oldValue;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
///
/// The event class that is created when a property
/// in the grid is modified by the user.
///
[System.Runtime.InteropServices.ComVisible(true)]
public class PropertyValueChangedEventArgs : EventArgs {
private readonly GridItem changedItem;
private object oldValue;
///
///
/// Constructor
///
public PropertyValueChangedEventArgs(GridItem changedItem, object oldValue) {
this.changedItem = changedItem;
this.oldValue = oldValue;
}
///
///
/// [To be supplied.]
///
public GridItem ChangedItem {
get {
return changedItem;
}
}
///
///
/// [To be supplied.]
///
public object OldValue {
get {
return oldValue;
}
}
}
}
// 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
- WinCategoryAttribute.cs
- ImageFormatConverter.cs
- AssociatedControlConverter.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- GorillaCodec.cs
- SchemaImporterExtensionElement.cs
- CSharpCodeProvider.cs
- RuntimeConfig.cs
- AffineTransform3D.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SizeKeyFrameCollection.cs
- OleDbError.cs
- JoinElimination.cs
- Serialization.cs
- XmlSchemaAttributeGroupRef.cs
- TextFormatterHost.cs
- Error.cs
- DataServiceProcessingPipelineEventArgs.cs
- ContextStaticAttribute.cs
- CompilerState.cs
- WebPart.cs
- AttributedMetaModel.cs
- DataControlFieldCollection.cs
- COM2IPerPropertyBrowsingHandler.cs
- SelectionBorderGlyph.cs
- TextAutomationPeer.cs
- ToolStripSplitButton.cs
- DefaultTextStoreTextComposition.cs
- OleAutBinder.cs
- RankException.cs
- TableAdapterManagerNameHandler.cs
- ValueUtilsSmi.cs
- ArglessEventHandlerProxy.cs
- WmlValidatorAdapter.cs
- GridViewColumnCollection.cs
- SqlLiftWhereClauses.cs
- XmlNavigatorStack.cs
- initElementDictionary.cs
- TransactionInterop.cs
- EpmSyndicationContentSerializer.cs
- InnerItemCollectionView.cs
- BamlLocalizabilityResolver.cs
- CreateUserWizardStep.cs
- RuntimeWrappedException.cs
- XmlSchemaObjectTable.cs
- PeerPresenceInfo.cs
- DispatchChannelSink.cs
- LockRecursionException.cs
- ScrollChangedEventArgs.cs
- WindowsScrollBar.cs
- Int32CAMarshaler.cs
- TextParagraphProperties.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- WindowsIdentity.cs
- storepermissionattribute.cs
- MethodImplAttribute.cs
- BamlRecords.cs
- ListenerTraceUtility.cs
- ConfigurationLockCollection.cs
- WeakEventManager.cs
- ManagementScope.cs
- _ListenerResponseStream.cs
- CommandDevice.cs
- InvalidCommandTreeException.cs
- PerspectiveCamera.cs
- BitmapPalette.cs
- CompoundFileReference.cs
- SizeAnimation.cs
- EndOfStreamException.cs
- SerializableAttribute.cs
- StateValidator.cs
- SelectionItemProviderWrapper.cs
- DataGridViewImageColumn.cs
- ChtmlLinkAdapter.cs
- AvTraceFormat.cs
- DataGridAutoFormatDialog.cs
- ProjectionCamera.cs
- WizardPanel.cs
- SchemaObjectWriter.cs
- HttpFormatExtensions.cs
- EntityTypeEmitter.cs
- MediaPlayer.cs
- precedingquery.cs
- QueueProcessor.cs
- OleDbTransaction.cs
- XmlNamedNodeMap.cs
- ECDsa.cs
- DataColumnMappingCollection.cs
- HtmlInputRadioButton.cs
- ColorInterpolationModeValidation.cs
- _SslState.cs
- ChtmlTextBoxAdapter.cs
- RoleGroupCollection.cs
- CopyNodeSetAction.cs
- HtmlGenericControl.cs
- InstalledFontCollection.cs
- HelpOperationInvoker.cs
- HandoffBehavior.cs
- clipboard.cs
- ObjectStorage.cs