ActivityDesigner.DoDefaultAction ActivityDesigner.DoDefaultAction ActivityDesigner.DoDefaultAction ActivityDesigner.DoDefaultAction Method

定義

執行與設計工具關聯的預設 UI 動作。Performs the default UI action associated with the designer.

protected:
 virtual void DoDefaultAction();
protected virtual void DoDefaultAction ();
abstract member DoDefaultAction : unit -> unit
override this.DoDefaultAction : unit -> unit
Protected Overridable Sub DoDefaultAction ()

實作

備註

這個方法可用來執行與設計工具相關聯的預設 UI 動作。Use this method to perform the default UI action associated with the designer. 預設 UI 動作包括當使用者按兩下設計工具介面時發出與檔案之外的程式碼中預設事件相關聯的方法。Default UI actions can include emitting the method associated with the default event in the code-beside file when a user double clicks the designer surface.

適用於