DesignerView.ToggleArgumentDesignerCommand Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The command used to show or hide the argument designer. Clicking the Arguments
button on the Windows Workflow Designer surface initiates this 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
Field Value
Examples
The following code sample demonstrates how to bind this property to a button.
<Button xmlns:sapv="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation" Command="sapv:DesignerView.ToggleArgumentDesignerCommand">Show/Hide Arguments</Button>
The following code sample demonstrates how invoke this property in C#.
DesignerView dView = des.Context.Services.GetService<DesignerView>();
((RoutedCommand)DesignerView.ToggleArgumentDesignerCommand).Execute(null, dView);
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.