ActivityDesigner.DoDefaultAction 方法
定义
执行与设计器关联的默认 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.