Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / PropertyChangingEventArgs.cs / 1 / PropertyChangingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the
/// event.
///
[HostProtection(SharedState = true)]
public class PropertyChangingEventArgs : EventArgs {
private readonly string propertyName;
///
/// Initializes a new instance of the
/// class.
///
public PropertyChangingEventArgs(string propertyName) {
this.propertyName = propertyName;
}
///
/// Indicates the name of the property that is changing.
///
public virtual string PropertyName {
get {
return propertyName;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the
/// event.
///
[HostProtection(SharedState = true)]
public class PropertyChangingEventArgs : EventArgs {
private readonly string propertyName;
///
/// Initializes a new instance of the
/// class.
///
public PropertyChangingEventArgs(string propertyName) {
this.propertyName = propertyName;
}
///
/// Indicates the name of the property that is changing.
///
public virtual string PropertyName {
get {
return propertyName;
}
}
}
}
// 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
- BuilderInfo.cs
- DataGridViewComboBoxColumnDesigner.cs
- SqlIdentifier.cs
- NameValueSectionHandler.cs
- SafeCertificateContext.cs
- SystemUnicastIPAddressInformation.cs
- LocatorManager.cs
- PopupRootAutomationPeer.cs
- DataSourceControl.cs
- TypedTableBaseExtensions.cs
- TabPanel.cs
- BindingList.cs
- AdapterUtil.cs
- ExtendedPropertyCollection.cs
- BitmapFrameDecode.cs
- _Connection.cs
- StateRuntime.cs
- ColorContext.cs
- SQLInt64Storage.cs
- CompilerCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- BitmapCodecInfo.cs
- HtmlPageAdapter.cs
- CounterSample.cs
- CodeAttributeDeclaration.cs
- MsmqAppDomainProtocolHandler.cs
- WsdlBuildProvider.cs
- AttributeCollection.cs
- WebReference.cs
- RegistryPermission.cs
- TypedRowHandler.cs
- ResourcePool.cs
- glyphs.cs
- ZeroOpNode.cs
- ProvidePropertyAttribute.cs
- SqlDataSourceCommandEventArgs.cs
- UserControlParser.cs
- ContractCodeDomInfo.cs
- LinkButton.cs
- SelectedGridItemChangedEvent.cs
- XPathNodeIterator.cs
- ExtensionSimplifierMarkupObject.cs
- embossbitmapeffect.cs
- RequestCacheManager.cs
- CollectionContainer.cs
- PageRanges.cs
- DbBuffer.cs
- HtmlButton.cs
- TableHeaderCell.cs
- BaseParser.cs
- BookmarkUndoUnit.cs
- RC2.cs
- ResXResourceReader.cs
- CopyNamespacesAction.cs
- Button.cs
- CodeAttributeArgumentCollection.cs
- arc.cs
- ToolStripDropDownClosingEventArgs.cs
- Fonts.cs
- BasicHttpMessageCredentialType.cs
- TimeIntervalCollection.cs
- Parser.cs
- SqlNamer.cs
- MetadataArtifactLoaderFile.cs
- HybridObjectCache.cs
- SoapMessage.cs
- ReferentialConstraintRoleElement.cs
- DoubleCollectionValueSerializer.cs
- EditorAttribute.cs
- SessionEndingCancelEventArgs.cs
- TransactionsSectionGroup.cs
- RegisteredDisposeScript.cs
- DocComment.cs
- TableCellCollection.cs
- ValueHandle.cs
- EncodingNLS.cs
- MarginsConverter.cs
- ServerValidateEventArgs.cs
- ThreadInterruptedException.cs
- LocalIdKeyIdentifierClause.cs
- CodeTypeMember.cs
- TextDecorationCollectionConverter.cs
- SystemDiagnosticsSection.cs
- NamedPermissionSet.cs
- TextServicesCompartmentEventSink.cs
- ExtendedPropertyCollection.cs
- ReadOnlyDictionary.cs
- IpcClientChannel.cs
- SqlAggregateChecker.cs
- ForceCopyBuildProvider.cs
- ObjectAnimationBase.cs
- DockPattern.cs
- StrokeCollection.cs
- SequentialOutput.cs
- Error.cs
- SoapFormatter.cs
- Vector3DCollectionConverter.cs
- SqlTransaction.cs
- DataObject.cs
- CodeAttributeDeclarationCollection.cs