ActivityDesigner.OnLayoutPosition(ActivityDesignerLayoutEventArgs) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當使用者重新調整其視覺提示或子活動設計工具的位置時,通知 ActivityDesigner。
protected:
virtual void OnLayoutPosition(System::Workflow::ComponentModel::Design::ActivityDesignerLayoutEventArgs ^ e);
C#
protected virtual void OnLayoutPosition (System.Workflow.ComponentModel.Design.ActivityDesignerLayoutEventArgs e);
abstract member OnLayoutPosition : System.Workflow.ComponentModel.Design.ActivityDesignerLayoutEventArgs -> unit
override this.OnLayoutPosition : System.Workflow.ComponentModel.Design.ActivityDesignerLayoutEventArgs -> unit
Protected Overridable Sub OnLayoutPosition (e As ActivityDesignerLayoutEventArgs)
e
包含 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 |