Skip to main content
.NET Framework Class Library
PropertyChangedEventArgs Class

Provides data for the PropertyChanged event.

Inheritance Hierarchy
System..::.Object
  System..::.EventArgs
    System.ComponentModel..::.PropertyChangedEventArgs

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Syntax
<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)> _
Public Class PropertyChangedEventArgs _
	Inherits EventArgs
[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public class PropertyChangedEventArgs : EventArgs
[HostProtectionAttribute(SecurityAction::LinkDemand, SharedState = true)]
public ref class PropertyChangedEventArgs : public EventArgs
[<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)>]
type PropertyChangedEventArgs =  
    class
        inherit EventArgs
    end

The PropertyChangedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryPropertyChangedEventArgsInitializes a new instance of the PropertyChangedEventArgs class.
Top
Properties
 NameDescription
Public propertySupported by the XNA FrameworkSupported by Portable Class LibraryPropertyNameGets the name of the property that changed.
Top
Methods
 NameDescription
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkSupported by Portable Class LibraryFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkSupported by Portable Class LibraryMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Remarks

A PropertyChanged event is raised when a property is changed on a component. A PropertyChangedEventArgs object specifies the name of the property that changed.

PropertyChangedEventArgs provides the PropertyName property to get the name of the property that changed.

NoteNote

The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.