From 5fad4a070a036eea1db09abd8e79caa9103b0552 Mon Sep 17 00:00:00 2001 From: NextTurn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 29 Nov 2019 15:46:13 +0000 Subject: [PATCH 1/4] Replace Windows Workflow Designer tokens --- .../customizing-the-workflow-design-experience.md | 4 ++-- docs/framework/windows-workflow-foundation/extend.md | 2 +- .../how-to-create-a-custom-activity-template.md | 2 +- ...how-to-display-validation-errors-in-a-rehosted-designer.md | 2 +- .../rehosting-the-workflow-designer.md | 2 +- docs/framework/windows-workflow-foundation/samples/basic.md | 2 +- .../framework/windows-workflow-foundation/samples/designer.md | 2 +- .../samples/programming-model-item-tree.md | 2 +- ...moving-the-view-state-the-designer-adds-to-an-xaml-file.md | 2 +- .../windows-workflow-foundation/state-machine-workflows.md | 4 ++-- .../task-2-host-the-workflow-designer.md | 2 +- .../task-3-create-the-toolbox-and-propertygrid-panes.md | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md b/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md index 3075fa176128f..d3f4b810b6d04 100644 --- a/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md +++ b/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md @@ -7,7 +7,7 @@ ms.assetid: 98135077-0f5d-4d16-9337-01094e843537 --- # Customizing the Workflow Design Experience -The scenarios for designing custom activities and for rehosting the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible. The key infrastructural change is that the new activity designer programming model is built upon Windows Presentation Foundation (WPF). This gives you the ability to define activity designers declaratively and to rehost the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] in other applications with comparative easy. When rehosting, a custom expression editor can be developed to support IntelliSense or a simplified expression domain. The integration with Windows Communication Foundation (WCF) has become more seamless with use of workflow services. Custom activity designers and the Model Item Tree can be used to enhance design time experiences in rehosted workflow designers. +The scenarios for designing custom activities and for rehosting the Windows Workflow Designer have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible. The key infrastructural change is that the new activity designer programming model is built upon Windows Presentation Foundation (WPF). This gives you the ability to define activity designers declaratively and to rehost the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] in other applications with comparative easy. When rehosting, a custom expression editor can be developed to support IntelliSense or a simplified expression domain. The integration with Windows Communication Foundation (WCF) has become more seamless with use of workflow services. Custom activity designers and the Model Item Tree can be used to enhance design time experiences in rehosted workflow designers. ## In This Section @@ -17,7 +17,7 @@ The scenarios for designing custom activities and for rehosting the [!INCLUDE[wf [Rehosting the Workflow Designer](rehosting-the-workflow-designer.md) - Describes how to re-host the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] outside of Visual Studio and how to display validation errors. + Describes how to re-host the Windows Workflow Designer outside of Visual Studio and how to display validation errors. [Using a Custom Expression Editor](using-a-custom-expression-editor.md) diff --git a/docs/framework/windows-workflow-foundation/extend.md b/docs/framework/windows-workflow-foundation/extend.md index 06eeb7a63f11f..4f07dd9b93a83 100644 --- a/docs/framework/windows-workflow-foundation/extend.md +++ b/docs/framework/windows-workflow-foundation/extend.md @@ -12,7 +12,7 @@ The following section describes how to extend Windows Workflow Foundation (WF) w ## In This Section [Customizing the Workflow Design Experience](customizing-the-workflow-design-experience.md) - Indicates how the scenarios for designing custom activities and for rehosting the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible because the new activity designer programming model is built upon Windows Presentation Foundation (WPF). + Indicates how the scenarios for designing custom activities and for rehosting the Windows Workflow Designer have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible because the new activity designer programming model is built upon Windows Presentation Foundation (WPF). ## See also diff --git a/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md b/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md index 1cff2980e5f2b..953b617261cff 100644 --- a/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md +++ b/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md @@ -5,7 +5,7 @@ ms.assetid: 6760a5cc-6eb8-465f-b4fa-f89b39539429 --- # How to: Create a Custom Activity Template -Custom activity templates are used to customize the configuration of activities, including custom composite activities, so that users do not have to create each activity individually and configure their properties and other settings manually. These custom templates can be made available in the **Toolbox** on the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] or from a rehosted designer, from which users can drag them onto the preconfigured design surface. [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] ships with good examples of such templates: the [SendAndReceiveReply Template Designer](/visualstudio/workflow-designer/sendandreceivereply-template-designer) and the [ReceiveAndSendReply Template Designer](/visualstudio/workflow-designer/receiveandsendreply-template-designer) in the [Messaging Activity Designers](/visualstudio/workflow-designer/messaging-activity-designers) category. +Custom activity templates are used to customize the configuration of activities, including custom composite activities, so that users do not have to create each activity individually and configure their properties and other settings manually. These custom templates can be made available in the **Toolbox** on the Windows Workflow Designer or from a rehosted designer, from which users can drag them onto the preconfigured design surface. [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] ships with good examples of such templates: the [SendAndReceiveReply Template Designer](/visualstudio/workflow-designer/sendandreceivereply-template-designer) and the [ReceiveAndSendReply Template Designer](/visualstudio/workflow-designer/receiveandsendreply-template-designer) in the [Messaging Activity Designers](/visualstudio/workflow-designer/messaging-activity-designers) category. The first procedure in this topic describes how to create a custom activity template for a **Delay** activity and the second procedure describes briefly how to make it available in a [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] to verify that the custom template works. diff --git a/docs/framework/windows-workflow-foundation/how-to-display-validation-errors-in-a-rehosted-designer.md b/docs/framework/windows-workflow-foundation/how-to-display-validation-errors-in-a-rehosted-designer.md index 392c2bbf6ab85..0fcf5c6b8d6d6 100644 --- a/docs/framework/windows-workflow-foundation/how-to-display-validation-errors-in-a-rehosted-designer.md +++ b/docs/framework/windows-workflow-foundation/how-to-display-validation-errors-in-a-rehosted-designer.md @@ -4,7 +4,7 @@ ms.date: "03/30/2017" ms.assetid: 5aa8fb53-8f75-433b-bc06-7c7d33583d5d --- # How to: Display Validation Errors in a Rehosted Designer -This topic describes how to retrieve and publish validation errors in a rehosted [!INCLUDE[wfd1](../../../includes/wfd1-md.md)]. This provides us with a procedure to confirm that a workflow in a rehosted designer is valid. +This topic describes how to retrieve and publish validation errors in a rehosted Windows Workflow Designer. This provides us with a procedure to confirm that a workflow in a rehosted designer is valid. This task has two parts. The first is to provide an implementation . There is one critical method to implement on this interface, which will pass you a list of objects containing information about the errors to the debug log. After implementing the interface, you retrieve the error information by publishing an instance of that implementation to the editing context. diff --git a/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md b/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md index 0b3bd6ca61e18..17c4c99fa6918 100644 --- a/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md +++ b/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md @@ -4,7 +4,7 @@ ms.date: "03/30/2017" ms.assetid: bec1fc28-f902-4edb-86c5-436cec802c2b --- # Rehosting the Workflow Designer -The [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] can be rehosted in environments outside of Visual Studio 2012 for the purposes of creating, modifying, and monitoring workflows. +The Windows Workflow Designer can be rehosted in environments outside of Visual Studio 2012 for the purposes of creating, modifying, and monitoring workflows. The type is a wrapper of the canvas, property grid, and other elements, and exposes a basic programming model to handle the majority of designer rehosting scenarios. Hosting the inside a Windows Presentation Foundation (WPF) application is a common rehosting scenario for [!INCLUDE[wfd2](../../../includes/wfd2-md.md)]. diff --git a/docs/framework/windows-workflow-foundation/samples/basic.md b/docs/framework/windows-workflow-foundation/samples/basic.md index cfbb07f39a0fc..b4791675f6cc9 100644 --- a/docs/framework/windows-workflow-foundation/samples/basic.md +++ b/docs/framework/windows-workflow-foundation/samples/basic.md @@ -14,7 +14,7 @@ This section provides samples that demonstrate basic Windows Workflow Foundation Contains samples that demonstrate creating custom activities. [Designer](designer.md) - Contains samples that demonstrate how to use [!INCLUDE[wfd1](../../../../includes/wfd1-md.md)]. + Contains samples that demonstrate how to use Windows Workflow Designer. [Designer ReHosting](designer-rehosting.md) Contains samples that demonstrate re-hosting the activity designer. diff --git a/docs/framework/windows-workflow-foundation/samples/designer.md b/docs/framework/windows-workflow-foundation/samples/designer.md index d9471ecb8d027..f6a42cc74be9a 100644 --- a/docs/framework/windows-workflow-foundation/samples/designer.md +++ b/docs/framework/windows-workflow-foundation/samples/designer.md @@ -4,7 +4,7 @@ ms.date: "03/30/2017" ms.assetid: bf28aae3-ddfb-4a86-b55d-1957f08c4e10 --- # Designer -This section contains samples that demonstrate how to use [!INCLUDE[wfd1](../../../../includes/wfd1-md.md)]. +This section contains samples that demonstrate how to use Windows Workflow Designer. ## In This Section [Removing the View State the Designer Adds to an XAML File](removing-the-view-state-the-designer-adds-to-an-xaml-file.md) diff --git a/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md b/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md index e205db5301dbf..57cc65fbd8a2f 100644 --- a/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md +++ b/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md @@ -7,7 +7,7 @@ ms.assetid: 0229efde-19ac-4bdc-a187-c6227a7bd1a5 This sample demonstrates how to navigate the tree using declarative data binding from the Windows Presentation Foundation (WPF) Tree View. ## Sample Details - The tree is the abstraction that is used by the [!INCLUDE[wfd1](../../../../includes/wfd1-md.md)] infrastructure to expose the data about the underlying instance being edited. The following illustration is a depiction of the various layers of infrastructure within the [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)]. + The tree is the abstraction that is used by the Windows Workflow Designer infrastructure to expose the data about the underlying instance being edited. The following illustration is a depiction of the various layers of infrastructure within the [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)]. ![Diagram that shows the Workflow Designer architecture.](./media/programming-model-item-tree/workflow-designer-architecture.jpg) diff --git a/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md b/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md index 92cc6b74aa377..e80dcc41bf6fc 100644 --- a/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md +++ b/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md @@ -5,7 +5,7 @@ ms.assetid: a801ce22-8699-483c-a392-7bb3834aae4f --- # Removing the view state the designer adds to an XAML file -This sample demonstrates how to create a class that derives from and removes view state from a XAML file. [!INCLUDE[wfd1](../../../../includes/wfd1-md.md)] writes information into the XAML document, which is known as view state. View state refers to the information that is required at design time, such as layout positioning, that is not required at runtime. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] inserts this information into the XAML document as it is edited. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] writes the view state into the XAML file with the `mc:Ignorable` attribute, so this information is not loaded when the runtime loads the XAML file. This sample demonstrates how to create a class that removes that view state information while processing XAML nodes. +This sample demonstrates how to create a class that derives from and removes view state from a XAML file. Windows Workflow Designer writes information into the XAML document, which is known as view state. View state refers to the information that is required at design time, such as layout positioning, that is not required at runtime. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] inserts this information into the XAML document as it is edited. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] writes the view state into the XAML file with the `mc:Ignorable` attribute, so this information is not loaded when the runtime loads the XAML file. This sample demonstrates how to create a class that removes that view state information while processing XAML nodes. ## Discussion diff --git a/docs/framework/windows-workflow-foundation/state-machine-workflows.md b/docs/framework/windows-workflow-foundation/state-machine-workflows.md index 4f66c62267423..e76c87fa35523 100644 --- a/docs/framework/windows-workflow-foundation/state-machine-workflows.md +++ b/docs/framework/windows-workflow-foundation/state-machine-workflows.md @@ -22,13 +22,13 @@ A state machine is a well-known paradigm for developing programs. The represents a state in which a state machine can be in. To add a to a workflow, drag the **State** activity designer from the **State Machine** section of the **Toolbox** and drop it onto a activity on the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] surface. + A represents a state in which a state machine can be in. To add a to a workflow, drag the **State** activity designer from the **State Machine** section of the **Toolbox** and drop it onto a activity on the Windows Workflow Designer surface. ![Screenshot of the State Machine section of the Toolbox.](./media/state-machine-workflows/state-machine-section-toolbox.jpg) To configure a state as the **Initial State**, right-click the state and select **Set as Initial State**. Additionally, if there is no current initial state, the initial state can be designated by dragging a line from the **Start** node at the top of the workflow to the desired state. When a activity is dropped onto the workflow designer, it is pre-configured with an initial state named **State1**. A state machine workflow must have one and only one initial state. - A state that represents a terminating state in a state machine is called a final state. A final state is a state that has its property set to `true`, has no activity, and no transitions originating from it. To add a final state to a workflow, drag a **FinalState** activity designer from the **State Machine** section of the **Toolbox** and drop it onto a activity on the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] surface. A state machine workflow must have at least one final state. + A state that represents a terminating state in a state machine is called a final state. A final state is a state that has its property set to `true`, has no activity, and no transitions originating from it. To add a final state to a workflow, drag a **FinalState** activity designer from the **State Machine** section of the **Toolbox** and drop it onto a activity on the Windows Workflow Designer surface. A state machine workflow must have at least one final state. ### Configuring Entry and Exit Actions A state can have an and an action. (A state configured as a final state may have only an entry action). When a workflow instance enters a state, any activities in the entry action execute. When the entry action is complete, the triggers for the state’s transitions are scheduled. When a transition to another state is confirmed, the activities in the exit action are executed, even if the state transitions back to the same state. After the exit action completes, the activities in the transition’s action execute, and then the new state is transitioned to, and its entry actions are scheduled. diff --git a/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md b/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md index 6bfe0e37f095d..97c9fabd1031e 100644 --- a/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md +++ b/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md @@ -5,7 +5,7 @@ ms.assetid: 0a29b138-270d-4846-b78e-2b875e34e501 --- # Task 2: Host the Workflow Designer -This topic describes the procedure for hosting an instance of the [!INCLUDE[wfd1](../../../includes/wfd1-md.md)] in a Windows Presentation Foundation (WPF) application. +This topic describes the procedure for hosting an instance of the Windows Workflow Designer in a Windows Presentation Foundation (WPF) application. The procedure configures the **Grid** control that contains the designer, programmatically creates an instance of the that contains a default activity, registers the designer metadata to provide designer support for all built-in activities, and hosts the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] in the WPF application. diff --git a/docs/framework/windows-workflow-foundation/task-3-create-the-toolbox-and-propertygrid-panes.md b/docs/framework/windows-workflow-foundation/task-3-create-the-toolbox-and-propertygrid-panes.md index d1dd8fefcc40e..b3977b78fc531 100644 --- a/docs/framework/windows-workflow-foundation/task-3-create-the-toolbox-and-propertygrid-panes.md +++ b/docs/framework/windows-workflow-foundation/task-3-create-the-toolbox-and-propertygrid-panes.md @@ -5,7 +5,7 @@ ms.assetid: 72c1546a-eed5-4f0f-a616-719a163414f4 --- # Task 3: Create the Toolbox and PropertyGrid Panes -In this task, you will create the **Toolbox** and **PropertyGrid** panes and add them to the rehosted [!INCLUDE[wfd1](../../../includes/wfd1-md.md)]. +In this task, you will create the **Toolbox** and **PropertyGrid** panes and add them to the rehosted Windows Workflow Designer. For reference, the code that should be in the MainWindow.xaml.cs file after completing the three tasks in the [Rehosting the Workflow Designer](rehosting-the-workflow-designer.md) series of topics is provided at the end of this topic. From 3154c65b0478480ddf7a8ebf15bcdacf989e1447 Mon Sep 17 00:00:00 2001 From: NextTurn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 29 Nov 2019 15:46:13 +0000 Subject: [PATCH 2/4] Remove wfd1-md.md --- includes/wfd1-md.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 includes/wfd1-md.md diff --git a/includes/wfd1-md.md b/includes/wfd1-md.md deleted file mode 100644 index 948fd00955f9b..0000000000000 --- a/includes/wfd1-md.md +++ /dev/null @@ -1 +0,0 @@ -Windows Workflow Designer From 6219752dc3de8db1227fd1a0e5114f6eefd5dbd5 Mon Sep 17 00:00:00 2001 From: NextTurn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 29 Nov 2019 15:46:28 +0000 Subject: [PATCH 3/4] Replace Workflow Designer tokens --- .../customizing-the-workflow-design-experience.md | 2 +- .../how-to-create-a-custom-activity-template.md | 4 ++-- .../rehosting-the-workflow-designer.md | 2 +- .../samples/programming-model-item-tree.md | 2 +- ...ng-the-view-state-the-designer-adds-to-an-xaml-file.md | 2 +- .../task-2-host-the-workflow-designer.md | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md b/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md index d3f4b810b6d04..3afc400191411 100644 --- a/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md +++ b/docs/framework/windows-workflow-foundation/customizing-the-workflow-design-experience.md @@ -7,7 +7,7 @@ ms.assetid: 98135077-0f5d-4d16-9337-01094e843537 --- # Customizing the Workflow Design Experience -The scenarios for designing custom activities and for rehosting the Windows Workflow Designer have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible. The key infrastructural change is that the new activity designer programming model is built upon Windows Presentation Foundation (WPF). This gives you the ability to define activity designers declaratively and to rehost the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] in other applications with comparative easy. When rehosting, a custom expression editor can be developed to support IntelliSense or a simplified expression domain. The integration with Windows Communication Foundation (WCF) has become more seamless with use of workflow services. Custom activity designers and the Model Item Tree can be used to enhance design time experiences in rehosted workflow designers. +The scenarios for designing custom activities and for rehosting the Windows Workflow Designer have been greatly simplified in .NET Framework 4. Development and deployment are now both easier and more flexible. The key infrastructural change is that the new activity designer programming model is built upon Windows Presentation Foundation (WPF). This gives you the ability to define activity designers declaratively and to rehost the Workflow Designer in other applications with comparative easy. When rehosting, a custom expression editor can be developed to support IntelliSense or a simplified expression domain. The integration with Windows Communication Foundation (WCF) has become more seamless with use of workflow services. Custom activity designers and the Model Item Tree can be used to enhance design time experiences in rehosted workflow designers. ## In This Section diff --git a/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md b/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md index 953b617261cff..94796623fca97 100644 --- a/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md +++ b/docs/framework/windows-workflow-foundation/how-to-create-a-custom-activity-template.md @@ -5,9 +5,9 @@ ms.assetid: 6760a5cc-6eb8-465f-b4fa-f89b39539429 --- # How to: Create a Custom Activity Template -Custom activity templates are used to customize the configuration of activities, including custom composite activities, so that users do not have to create each activity individually and configure their properties and other settings manually. These custom templates can be made available in the **Toolbox** on the Windows Workflow Designer or from a rehosted designer, from which users can drag them onto the preconfigured design surface. [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] ships with good examples of such templates: the [SendAndReceiveReply Template Designer](/visualstudio/workflow-designer/sendandreceivereply-template-designer) and the [ReceiveAndSendReply Template Designer](/visualstudio/workflow-designer/receiveandsendreply-template-designer) in the [Messaging Activity Designers](/visualstudio/workflow-designer/messaging-activity-designers) category. +Custom activity templates are used to customize the configuration of activities, including custom composite activities, so that users do not have to create each activity individually and configure their properties and other settings manually. These custom templates can be made available in the **Toolbox** on the Windows Workflow Designer or from a rehosted designer, from which users can drag them onto the preconfigured design surface. Workflow Designer ships with good examples of such templates: the [SendAndReceiveReply Template Designer](/visualstudio/workflow-designer/sendandreceivereply-template-designer) and the [ReceiveAndSendReply Template Designer](/visualstudio/workflow-designer/receiveandsendreply-template-designer) in the [Messaging Activity Designers](/visualstudio/workflow-designer/messaging-activity-designers) category. - The first procedure in this topic describes how to create a custom activity template for a **Delay** activity and the second procedure describes briefly how to make it available in a [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] to verify that the custom template works. + The first procedure in this topic describes how to create a custom activity template for a **Delay** activity and the second procedure describes briefly how to make it available in a Workflow Designer to verify that the custom template works. Custom activity templates must implement the . The interface has a single method with which you can create and configure the activity instances used in the template. diff --git a/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md b/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md index 17c4c99fa6918..20b1e15281ce3 100644 --- a/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md +++ b/docs/framework/windows-workflow-foundation/rehosting-the-workflow-designer.md @@ -6,7 +6,7 @@ ms.assetid: bec1fc28-f902-4edb-86c5-436cec802c2b # Rehosting the Workflow Designer The Windows Workflow Designer can be rehosted in environments outside of Visual Studio 2012 for the purposes of creating, modifying, and monitoring workflows. - The type is a wrapper of the canvas, property grid, and other elements, and exposes a basic programming model to handle the majority of designer rehosting scenarios. Hosting the inside a Windows Presentation Foundation (WPF) application is a common rehosting scenario for [!INCLUDE[wfd2](../../../includes/wfd2-md.md)]. + The type is a wrapper of the canvas, property grid, and other elements, and exposes a basic programming model to handle the majority of designer rehosting scenarios. Hosting the inside a Windows Presentation Foundation (WPF) application is a common rehosting scenario for Workflow Designer. ## In This Section [Task 1: Create a New Windows Presentation Foundation Application](task-1-create-a-new-wpf-app.md) diff --git a/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md b/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md index 57cc65fbd8a2f..e114ad94c9dfd 100644 --- a/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md +++ b/docs/framework/windows-workflow-foundation/samples/programming-model-item-tree.md @@ -7,7 +7,7 @@ ms.assetid: 0229efde-19ac-4bdc-a187-c6227a7bd1a5 This sample demonstrates how to navigate the tree using declarative data binding from the Windows Presentation Foundation (WPF) Tree View. ## Sample Details - The tree is the abstraction that is used by the Windows Workflow Designer infrastructure to expose the data about the underlying instance being edited. The following illustration is a depiction of the various layers of infrastructure within the [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)]. + The tree is the abstraction that is used by the Windows Workflow Designer infrastructure to expose the data about the underlying instance being edited. The following illustration is a depiction of the various layers of infrastructure within the Workflow Designer. ![Diagram that shows the Workflow Designer architecture.](./media/programming-model-item-tree/workflow-designer-architecture.jpg) diff --git a/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md b/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md index e80dcc41bf6fc..b9734f656bd7d 100644 --- a/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md +++ b/docs/framework/windows-workflow-foundation/samples/removing-the-view-state-the-designer-adds-to-an-xaml-file.md @@ -5,7 +5,7 @@ ms.assetid: a801ce22-8699-483c-a392-7bb3834aae4f --- # Removing the view state the designer adds to an XAML file -This sample demonstrates how to create a class that derives from and removes view state from a XAML file. Windows Workflow Designer writes information into the XAML document, which is known as view state. View state refers to the information that is required at design time, such as layout positioning, that is not required at runtime. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] inserts this information into the XAML document as it is edited. [!INCLUDE[wfd2](../../../../includes/wfd2-md.md)] writes the view state into the XAML file with the `mc:Ignorable` attribute, so this information is not loaded when the runtime loads the XAML file. This sample demonstrates how to create a class that removes that view state information while processing XAML nodes. +This sample demonstrates how to create a class that derives from and removes view state from a XAML file. Windows Workflow Designer writes information into the XAML document, which is known as view state. View state refers to the information that is required at design time, such as layout positioning, that is not required at runtime. Workflow Designer inserts this information into the XAML document as it is edited. Workflow Designer writes the view state into the XAML file with the `mc:Ignorable` attribute, so this information is not loaded when the runtime loads the XAML file. This sample demonstrates how to create a class that removes that view state information while processing XAML nodes. ## Discussion diff --git a/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md b/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md index 97c9fabd1031e..a37c469ba95e3 100644 --- a/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md +++ b/docs/framework/windows-workflow-foundation/task-2-host-the-workflow-designer.md @@ -7,19 +7,19 @@ ms.assetid: 0a29b138-270d-4846-b78e-2b875e34e501 This topic describes the procedure for hosting an instance of the Windows Workflow Designer in a Windows Presentation Foundation (WPF) application. -The procedure configures the **Grid** control that contains the designer, programmatically creates an instance of the that contains a default activity, registers the designer metadata to provide designer support for all built-in activities, and hosts the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)] in the WPF application. +The procedure configures the **Grid** control that contains the designer, programmatically creates an instance of the that contains a default activity, registers the designer metadata to provide designer support for all built-in activities, and hosts the Workflow Designer in the WPF application. ## To host the workflow designer 1. Open the HostingApplication project you created in [Task 1: Create a New Windows Presentation Foundation Application](task-1-create-a-new-wpf-app.md). -2. Adjust the size of the window to make it easier to use the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)]. To do this, select **MainWindow** in the designer, press F4 to display the **Properties** window, and, in the **Layout** section there, set the **Width** to a value of 600 and the **Height** to a value of 350. +2. Adjust the size of the window to make it easier to use the Workflow Designer. To do this, select **MainWindow** in the designer, press F4 to display the **Properties** window, and, in the **Layout** section there, set the **Width** to a value of 600 and the **Height** to a value of 350. 3. Set the grid name by selecting the **Grid** panel in the designer (click the box inside the **MainWindow**) and setting the **Name** property at the top of the **Properties** window to "grid1". 4. In the **Properties** window, click the ellipsis (**…**) next to the `ColumnDefinitions` property to open the **Collection Editor** dialog box. -5. In the **Collection Editor** dialog box, click the **Add** button three times to insert three columns into the layout. The first column will contain the **Toolbox**, the second column will host the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)], and the third column will be used for the property inspector. +5. In the **Collection Editor** dialog box, click the **Add** button three times to insert three columns into the layout. The first column will contain the **Toolbox**, the second column will host the Workflow Designer, and the third column will be used for the property inspector. 6. Set the `Width` property of the middle column to the value "4*". @@ -82,7 +82,7 @@ The procedure configures the **Grid** control that contains the designer, progra } ``` - 4. Register the designer metadata to add designer support for all the built-in activities. This enables you to drop activities from the toolbox onto the original activity in the [!INCLUDE[wfd2](../../../includes/wfd2-md.md)]. To do this, add the `RegisterMetadata` method to the `MainWindow` class: + 4. Register the designer metadata to add designer support for all the built-in activities. This enables you to drop activities from the toolbox onto the original activity in the Workflow Designer. To do this, add the `RegisterMetadata` method to the `MainWindow` class: ```csharp private void RegisterMetadata() From 400d5f573759ac5300cbbd0823609a304dd94202 Mon Sep 17 00:00:00 2001 From: NextTurn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 29 Nov 2019 15:46:28 +0000 Subject: [PATCH 4/4] Remove wfd2-md.md --- includes/wfd2-md.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 includes/wfd2-md.md diff --git a/includes/wfd2-md.md b/includes/wfd2-md.md deleted file mode 100644 index c2eda7804f294..0000000000000 --- a/includes/wfd2-md.md +++ /dev/null @@ -1 +0,0 @@ -Workflow Designer