DesignerView.ToggleArgumentDesignerCommand Champ

Définition

Commande utilisée pour afficher ou masquer le concepteur d’arguments. Cliquez sur le bouton « Arguments » sur l’aire Windows Concepteur de flux de travail lance cette action.

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 

Valeur de champ

Exemples

L’exemple de code suivant montre comment lier cette propriété à un bouton.

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

L’exemple de code suivant montre comment appeler cette propriété en C#.

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

S’applique à