Sdílet prostřednictvím


DesignerView.ToggleArgumentDesignerCommand Pole

Definice

Příkaz použitý k zobrazení nebo skrytí návrháře argumentů. Kliknutím na Arguments tlačítko na ploše Windows Workflow Designeru se spustí tato akce.

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 

Hodnota pole

Příklady

Následující ukázka kódu ukazuje, jak vytvořit vazbu této vlastnosti na tlačítko.

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

Následující ukázka kódu ukazuje, jak vyvolat tuto vlastnost v jazyce C#.

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

Platí pro