Επεξεργασία

Κοινή χρήση μέσω


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);
public void BringToFront (System.Workflow.ComponentModel.Design.ActivityDesigner containedDesigner);
member this.BringToFront : System.Workflow.ComponentModel.Design.ActivityDesigner -> unit
Public Sub BringToFront (containedDesigner As ActivityDesigner)

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