Share via


ReadOnlyActivityGlyph.GetBounds(ActivityDesigner, Boolean) Metodo

Definizione

Restituisce i limiti per l'icona nella classe ActivityDesigner specificata.

public:
 override System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public override System.Drawing.Rectangle GetBounds (System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overrides Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle

Parametri

designer
ActivityDesigner

Elemento ActivityDesigner a cui è associata l'icona.

activated
Boolean

true per indicare se l'icona è visualizzata nella superficie dell'ActivityDesigner. In caso contrario, false.

Restituisce

Rectangle che rappresenta i limiti dell'icona.

Eccezioni

designer contiene un riferimento null (Nothing in Visual Basic).

Si applica a