RibbonGallery.CommandTarget 屬性

定義

取得或設定項目,在這個項目上會叫用指定的命令。

public:
 property System::Windows::IInputElement ^ CommandTarget { System::Windows::IInputElement ^ get(); void set(System::Windows::IInputElement ^ value); };
public System.Windows.IInputElement CommandTarget { get; set; }
member this.CommandTarget : System.Windows.IInputElement with get, set
Public Property CommandTarget As IInputElement

屬性值

IInputElement

要對其叫用命令的項目。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

相依性屬性資訊

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

適用於