ConfigErrorGlyph.GetBounds(ActivityDesigner, Boolean) Metode

Definisi

Mengembalikan batas untuk glyph pada ActivityDesigner.

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

Parameter

designer
ActivityDesigner

yang ActivityDesigner dengannya glyph dikaitkan.

activated
Boolean

true untuk menunjukkan apakah glyph muncul di permukaan perancang aktivitas; jika tidak, false.

Mengembalikan

Rectangle yang mewakili batas untuk glyph.

Pengecualian

designer berisi referensi null (Nothing di Visual Basic).

Berlaku untuk