DesignerView.ToggleArgumentDesignerCommand 필드

정의

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

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 

필드 값

예제

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

<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);  

적용 대상