PropertyChangedEventArgs 类

定义

PropertyChanged 事件提供数据。Provides data for the PropertyChanged event.

public ref class PropertyChangedEventArgs : EventArgs
public class PropertyChangedEventArgs : EventArgs
type PropertyChangedEventArgs = class
    inherit EventArgs
Public Class PropertyChangedEventArgs
Inherits EventArgs
继承
PropertyChangedEventArgs

注解

当组件上的属性更改时,会引发 PropertyChanged 事件。A PropertyChanged event is raised when a property is changed on a component. PropertyChangedEventArgs 对象指定已更改的属性的名称。A PropertyChangedEventArgs object specifies the name of the property that changed.

PropertyChangedEventArgs 提供 PropertyName 属性来获取已更改属性的名称。PropertyChangedEventArgs provides the PropertyName property to get the name of the property that changed.

构造函数

PropertyChangedEventArgs(String)

初始化 PropertyChangedEventArgs 类的新实例。Initializes a new instance of the PropertyChangedEventArgs class.

属性

PropertyName

获取已更改属性的名称。Gets the name of the property that changed.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅