ItemsControl.OnDisplayMemberPathChanged(String, String) 方法

定義

DisplayMemberPath 屬性變更時叫用。

protected:
 virtual void OnDisplayMemberPathChanged(System::String ^ oldDisplayMemberPath, System::String ^ newDisplayMemberPath);
protected virtual void OnDisplayMemberPathChanged (string oldDisplayMemberPath, string newDisplayMemberPath);
abstract member OnDisplayMemberPathChanged : string * string -> unit
override this.OnDisplayMemberPathChanged : string * string -> unit
Protected Overridable Sub OnDisplayMemberPathChanged (oldDisplayMemberPath As String, newDisplayMemberPath As String)

參數

oldDisplayMemberPath
String

DisplayMemberPath 屬性的舊值。

newDisplayMemberPath
String

DisplayMemberPath 屬性的新值。

適用於