IButtonControl.CommandName 屬性

定義

取得或設定傳播至 Command 事件的命令名稱。

public:
 property System::String ^ CommandName { System::String ^ get(); void set(System::String ^ value); };
public string CommandName { get; set; }
member this.CommandName : string with get, set
Public Property CommandName As String

屬性值

傳播至 Command 事件的命令名稱。

備註

實作 介面的 IButtonControl 控制項必須實 CommandArgument 作 屬性和 CommandName 屬性,以指出傳播至 Command 事件的引數和命令名稱。

適用於

另請參閱