DesignerView.ToggleArgumentDesignerCommand 필드

정의

인수 디자이너를 표시하거나 숨기는 데 사용되는 명령입니다. ArgumentsWindows 워크플로 디자이너 화면에서 단추를 클릭 하면이 작업이 시작 됩니다.

public: static initonly System::Windows::Input::ICommand ^ ToggleArgumentDesignerCommand;
public static readonly System.Windows.Input.ICommand ToggleArgumentDesignerCommand;
 staticval mutable ToggleArgumentDesignerCommand : System.Windows.Input.ICommand
Public Shared ReadOnly ToggleArgumentDesignerCommand As ICommand 

필드 값

ICommand

예제

다음 코드 샘플에서는 단추에이 속성을 바인딩하는 방법을 보여 줍니다.

<Button xmlns:sapv="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation" Command="sapv:DesignerView.ToggleArgumentDesignerCommand">Show/Hide Arguments</Button>  

다음 코드 샘플에서는 c #에서이 속성을 호출 하는 방법을 보여 줍니다.

DesignerView dView = des.Context.Services.GetService<DesignerView>();  
((RoutedCommand)DesignerView.ToggleArgumentDesignerCommand).Execute(null, dView);  

적용 대상