DesignerView.ToggleArgumentDesignerCommand 필드

정의

인수 디자이너를 표시하거나 숨기는 데 사용되는 명령입니다. 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);

적용 대상