Hyperlink.CommandTarget 屬性

定義

取得或設定目標項目,在這個項目上會執行 Command 屬性所指定的命令。

public:
 property System::Windows::IInputElement ^ CommandTarget { System::Windows::IInputElement ^ get(); void set(System::Windows::IInputElement ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.IInputElement CommandTarget { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.CommandTarget : System.Windows.IInputElement with get, set
Public Property CommandTarget As IInputElement

屬性值

IInputElement

目標項目,在這個項目上會執行 Command 屬性所指定的命令。 預設為 null

屬性

備註

相依性屬性資訊

識別碼欄位 CommandTargetProperty
中繼資料屬性設定為 true

適用於