Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DesignerView.ToggleArgumentDesignerCommand Field

.NET Framework (current version)

The command used to show or hide the argument designer. Clicking the Arguments button on the Windows Workflow Designer surface initiates this action.

Namespace:   System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public static readonly ICommand ToggleArgumentDesignerCommand

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

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft