Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / PropertyChangedEventArgs.cs / 1 / PropertyChangedEventArgs.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 PropertyChangedEventArgs : EventArgs {
private readonly string propertyName;
///
/// Initializes a new instance of the
/// class.
///
public PropertyChangedEventArgs(string propertyName) {
this.propertyName = propertyName;
}
///
/// Indicates the name of the property that changed.
///
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 PropertyChangedEventArgs : EventArgs {
private readonly string propertyName;
///
/// Initializes a new instance of the
/// class.
///
public PropertyChangedEventArgs(string propertyName) {
this.propertyName = propertyName;
}
///
/// Indicates the name of the property that changed.
///
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
- FileFormatException.cs
- StringHandle.cs
- ZipIOExtraFieldPaddingElement.cs
- EpmSyndicationContentSerializer.cs
- VerticalAlignConverter.cs
- SetterTriggerConditionValueConverter.cs
- LoadedOrUnloadedOperation.cs
- ListItemConverter.cs
- TrackingMemoryStream.cs
- Model3D.cs
- StreamGeometry.cs
- SourceChangedEventArgs.cs
- ScriptManagerProxy.cs
- MethodBuilder.cs
- Token.cs
- ActivityTypeDesigner.xaml.cs
- GroupAggregateExpr.cs
- Scalars.cs
- WSFederationHttpBindingCollectionElement.cs
- BamlRecords.cs
- PerformanceCounterPermission.cs
- PropertyDescriptor.cs
- WindowsNonControl.cs
- QuaternionAnimation.cs
- TraceListeners.cs
- GridViewItemAutomationPeer.cs
- UpDownBase.cs
- PixelFormatConverter.cs
- RegexMatchCollection.cs
- FactoryRecord.cs
- DBSqlParserTableCollection.cs
- ScrollViewer.cs
- ProcessMonitor.cs
- PipelineModuleStepContainer.cs
- FacetDescription.cs
- AssemblyAttributesGoHere.cs
- ByteKeyFrameCollection.cs
- AnnotationService.cs
- DataServiceQueryException.cs
- XmlTextEncoder.cs
- StringSorter.cs
- FocusWithinProperty.cs
- DataRowCollection.cs
- CodeSubDirectoriesCollection.cs
- AliasedSlot.cs
- SafeMILHandle.cs
- RowType.cs
- RepeaterItem.cs
- CultureInfoConverter.cs
- BindingCompleteEventArgs.cs
- PerformanceCounterManager.cs
- EntityDataSourceViewSchema.cs
- DesignerForm.cs
- IndexerNameAttribute.cs
- DeferredSelectedIndexReference.cs
- DataControlFieldHeaderCell.cs
- UnicodeEncoding.cs
- OuterGlowBitmapEffect.cs
- LocationReferenceValue.cs
- NegotiateStream.cs
- DataServiceException.cs
- ActivityStatusChangeEventArgs.cs
- PointAnimationBase.cs
- RecipientInfo.cs
- SettingsPropertyIsReadOnlyException.cs
- IdentityManager.cs
- BitmapEffectGeneralTransform.cs
- ListBindableAttribute.cs
- GiveFeedbackEvent.cs
- Transform3DGroup.cs
- AutomationTextAttribute.cs
- RectAnimationUsingKeyFrames.cs
- RayMeshGeometry3DHitTestResult.cs
- UserValidatedEventArgs.cs
- CqlQuery.cs
- FtpWebResponse.cs
- KnownBoxes.cs
- BitmapEffect.cs
- Window.cs
- Camera.cs
- Transform3DGroup.cs
- XsdDuration.cs
- InvalidEnumArgumentException.cs
- GridPattern.cs
- RuleInfoComparer.cs
- SafeFileMappingHandle.cs
- OdbcEnvironmentHandle.cs
- regiisutil.cs
- ElementUtil.cs
- SystemWebSectionGroup.cs
- localization.cs
- CharacterBufferReference.cs
- DbConnectionPool.cs
- LocalizedNameDescriptionPair.cs
- EncoderFallback.cs
- VoiceChangeEventArgs.cs
- DropShadowEffect.cs
- SqlTypeSystemProvider.cs
- MemoryFailPoint.cs
- httpapplicationstate.cs