FreeformActivityDesigner.BringToFront(ActivityDesigner) Method

Definition

Brings the specified ActivityDesigner to the top of the z-order of the FreeformActivityDesigner.

public void BringToFront (System.Workflow.ComponentModel.Design.ActivityDesigner containedDesigner);

Parameters

containedDesigner
ActivityDesigner

The ActivityDesigner to bring to the top of the z-order.

Exceptions

containedDesigner contains a null reference (Nothing in Visual Basic).

containedDesigner is not found in the ContainedDesigners collection.

Remarks

BringToFront modifies the z-order for the FreeformActivityDesigner to display the specified ActivityDesigner as its top visible child designer. You can use this method to display a designer at the top of the z-order when a user selects it.

containedDesigner must be in a child of the FreeformActivityDesigner before you call BringToFront. If it is not, BringToFront throws an ArgumentException.

Applies to

产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1