Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / PropertyChangingEventArgs.cs / 1305376 / 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
- ComIntegrationManifestGenerator.cs
- SiteMapProvider.cs
- MessageDescription.cs
- ContentFileHelper.cs
- XamlVector3DCollectionSerializer.cs
- ListSortDescriptionCollection.cs
- XmlLanguageConverter.cs
- PersonalizationProvider.cs
- ArgIterator.cs
- TypeNameConverter.cs
- SqlCacheDependency.cs
- MethodAccessException.cs
- GPRECTF.cs
- NetworkInformationPermission.cs
- DataPagerField.cs
- XmlSchemaDocumentation.cs
- ScrollViewerAutomationPeer.cs
- NumberFunctions.cs
- PreviewPrintController.cs
- Pair.cs
- TextRangeBase.cs
- XPathArrayIterator.cs
- SettingsContext.cs
- RelationshipDetailsRow.cs
- XmlFormatExtensionPointAttribute.cs
- XhtmlConformanceSection.cs
- SqlInternalConnectionSmi.cs
- InputChannelBinder.cs
- VideoDrawing.cs
- Internal.cs
- GridViewDeleteEventArgs.cs
- MaskedTextBox.cs
- mda.cs
- OleDbReferenceCollection.cs
- RuntimeWrappedException.cs
- ComponentEvent.cs
- ContentPropertyAttribute.cs
- Converter.cs
- SymmetricAlgorithm.cs
- FrameworkContentElementAutomationPeer.cs
- TextAutomationPeer.cs
- SerializationStore.cs
- XmlNode.cs
- ConfigXmlWhitespace.cs
- CaretElement.cs
- HttpContext.cs
- RequestedSignatureDialog.cs
- precedingquery.cs
- Aggregates.cs
- StylusPointPropertyUnit.cs
- ChangesetResponse.cs
- DeploymentSection.cs
- QilTargetType.cs
- EvidenceTypeDescriptor.cs
- ReflectionTypeLoadException.cs
- FeatureAttribute.cs
- NetDispatcherFaultException.cs
- FixedHighlight.cs
- TableLayoutCellPaintEventArgs.cs
- ExceptionHandler.cs
- DeploymentSection.cs
- WebControlsSection.cs
- DispatcherObject.cs
- PipelineModuleStepContainer.cs
- XsdValidatingReader.cs
- FormatterConverter.cs
- LinkedDataMemberFieldEditor.cs
- Stroke.cs
- SimpleApplicationHost.cs
- DbDataAdapter.cs
- WebPartCollection.cs
- Types.cs
- ReadOnlyKeyedCollection.cs
- SspiSecurityTokenProvider.cs
- TableProvider.cs
- DurableEnlistmentState.cs
- WindowsSecurityToken.cs
- DateTimeOffset.cs
- RenderDataDrawingContext.cs
- ClipboardData.cs
- CompilationUtil.cs
- EntityProxyFactory.cs
- NativeCompoundFileAPIs.cs
- ProgressBar.cs
- DataTableReader.cs
- NCryptNative.cs
- QueuePropertyVariants.cs
- DataControlCommands.cs
- AnnouncementDispatcherAsyncResult.cs
- AuthorizationSection.cs
- ActivityDesignerLayoutSerializers.cs
- TabControl.cs
- ServiceChannelManager.cs
- LinqDataSourceValidationException.cs
- WindowsListViewItemStartMenu.cs
- StreamWithDictionary.cs
- TreeNodeConverter.cs
- ClientTarget.cs
- PageRequestManager.cs
- DataGridViewCellCollection.cs