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)

適用於

另請參閱