Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / PropertyChangingEventArgs.cs / 4 / 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
- VerificationAttribute.cs
- ResponseStream.cs
- BinaryFormatterWriter.cs
- SvcMapFileSerializer.cs
- ObjectDataSource.cs
- WeakReferenceEnumerator.cs
- Part.cs
- MailBnfHelper.cs
- PointValueSerializer.cs
- PersistencePipeline.cs
- DelayedRegex.cs
- DrawingImage.cs
- SqlDataSourceCommandEventArgs.cs
- ClientSection.cs
- SendingRequestEventArgs.cs
- StrokeDescriptor.cs
- AsyncContentLoadedEventArgs.cs
- RightsManagementPermission.cs
- DiscoveryVersion.cs
- CopyAttributesAction.cs
- XmlNullResolver.cs
- HtmlInputPassword.cs
- CriticalExceptions.cs
- WebPartTracker.cs
- InboundActivityHelper.cs
- ObjectFullSpanRewriter.cs
- ParameterCollection.cs
- ListSortDescriptionCollection.cs
- DataBoundControlHelper.cs
- SoapElementAttribute.cs
- GridPatternIdentifiers.cs
- XsltContext.cs
- PropertyInformationCollection.cs
- ClientFormsAuthenticationMembershipProvider.cs
- FrugalMap.cs
- NetworkStream.cs
- SByteStorage.cs
- CharacterMetricsDictionary.cs
- InheritanceContextChangedEventManager.cs
- ObjectSecurity.cs
- SelectedGridItemChangedEvent.cs
- StsCommunicationException.cs
- InvokeWebServiceDesigner.cs
- CheckBoxField.cs
- WebPartDisplayModeCollection.cs
- ExtensionWindowResizeGrip.cs
- HtmlInputSubmit.cs
- StringCollection.cs
- ContextDataSourceContextData.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- AxisAngleRotation3D.cs
- ButtonColumn.cs
- XmlQueryTypeFactory.cs
- TreeView.cs
- FixedHighlight.cs
- BuildProviderCollection.cs
- GetCryptoTransformRequest.cs
- InstancePersistenceEvent.cs
- EntityViewGenerationAttribute.cs
- _StreamFramer.cs
- EventArgs.cs
- ListViewTableRow.cs
- NetSectionGroup.cs
- RemotingException.cs
- PathFigureCollectionValueSerializer.cs
- storepermissionattribute.cs
- CrossSiteScriptingValidation.cs
- DPTypeDescriptorContext.cs
- ResourceCategoryAttribute.cs
- XslNumber.cs
- LocalFileSettingsProvider.cs
- KoreanLunisolarCalendar.cs
- UnwrappedTypesXmlSerializerManager.cs
- XmlNodeComparer.cs
- XmlSerializableReader.cs
- ManagementNamedValueCollection.cs
- PrivateFontCollection.cs
- DisplayMemberTemplateSelector.cs
- BindingMemberInfo.cs
- XmlNodeWriter.cs
- WindowsToolbarAsMenu.cs
- PersistenceMetadataNamespace.cs
- StateWorkerRequest.cs
- WebPermission.cs
- DbProviderFactories.cs
- RegistrationServices.cs
- datacache.cs
- BatchServiceHost.cs
- ModuleConfigurationInfo.cs
- ToggleButtonAutomationPeer.cs
- RowsCopiedEventArgs.cs
- FlowDocumentReaderAutomationPeer.cs
- NativeWrapper.cs
- CssTextWriter.cs
- TextParagraphView.cs
- WebPartConnectionCollection.cs
- OracleFactory.cs
- VisualStateGroup.cs
- SmiRequestExecutor.cs
- DesignOnlyAttribute.cs