LockedActivityGlyph.GetBounds(ActivityDesigner, Boolean) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回特定 ActivityDesigner 上的圖像界限。
public:
override System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
C#
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
- designer
- ActivityDesigner
與圖像相關聯的 ActivityDesigner。
- activated
- Boolean
true
,用來指示圖像是否顯示在活動設計工具介面上,否則為 false
。
Rectangle,代表圖像的界限。
designer
包含 null 參考 (在 Visual Basic 中為 Nothing
)。
產品 | 版本 |
---|---|
.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 |