FreeformActivityDesigner.MoveContainedDesigner Metoda

Definice

Přesune zadaný ActivityDesigner do zadaného umístění.

public:
 void MoveContainedDesigner(System::Workflow::ComponentModel::Design::ActivityDesigner ^ containedDesigner, System::Drawing::Point newLocation);
public void MoveContainedDesigner(System.Workflow.ComponentModel.Design.ActivityDesigner containedDesigner, System.Drawing.Point newLocation);
member this.MoveContainedDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner * System.Drawing.Point -> unit
Public Sub MoveContainedDesigner (containedDesigner As ActivityDesigner, newLocation As Point)

Parametry

containedDesigner
ActivityDesigner

To ActivityDesigner se má přesunout.

newLocation
Point

Jedná se Point o nové umístění návrháře.

Výjimky

containedDesigner obsahuje odkaz null (Nothing v Visual Basic).

containedDesigner v kolekci ContainedDesigners nebyl nalezen.

Poznámky

MoveContainedDesigner nastaví nové hranice pro přesunutého návrháře a provede všechny požadované operace rozložení pro FreeformActivityDesigner návrhovou plochu pracovního postupu.

containedDesigner musí být v dítě FreeformActivityDesigner před voláním MoveContainedDesigner. Pokud není, MoveContainedDesigner vyvolá chybu ArgumentException.

Platí pro