RibbonButton.Command 속성
버전 2에 적용
단추가 눌려질 때 호출할 명령을 가져오거나 설정합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Public Property Command As ICommand
Get
Private Set
‘사용 방법
Dim instance As RibbonButton
Dim value As ICommand
value = instance.Command
public ICommand Command { get; private set; }
public:
property ICommand^ Command {
ICommand^ get ();
private: void set (ICommand^ value);
}
member Command : ICommand with get, private set
function get Command () : ICommand
private function set Command (value : ICommand)
속성 값
유형: System.Windows.Input.ICommand
단추를 누를 때 호출할 명령입니다.