ToolStripItem.Command 속성

정의

참고

이 미리 보기 API를 사용하려면 프로젝트 파일에서 EnablePreviewFeatures 속성을 True로 설정하여 프로젝트에서 미리 보기 기능을 사용하도록 해야 합니다. 자세한 내용은 https://aka.ms/dotnet-preview-features를 참조하세요.

ToolStripItem의 Click 이벤트가 호출될 때 메서드가 호출되는 을 가져오거나 설정합니다.ICommandExecute(Object)

public:
 property System::Windows::Input::ICommand ^ Command { System::Windows::Input::ICommand ^ get(); void set(System::Windows::Input::ICommand ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
[System.Runtime.Versioning.RequiresPreviewFeatures]
public System.Windows.Input.ICommand Command { get; set; }
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
public System.Windows.Input.ICommand? Command { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(false)>]
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
member this.Command : System.Windows.Input.ICommand with get, set
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(false)>]
member this.Command : System.Windows.Input.ICommand with get, set
Public Property Command As ICommand

속성 값

특성

적용 대상