This documentation is archived and is not being maintained.
ComponentDesigner.DoDefaultAction Method
.NET Framework 1.1
Creates a method signature in the source code file for the default event on the component and navigates the user's cursor to that location.
[Visual Basic] Public Overridable Sub DoDefaultAction() Implements _ IDesigner.DoDefaultAction [C#] public virtual void DoDefaultAction(); [C++] public: virtual void DoDefaultAction(); [JScript] public function DoDefaultAction();
Implements
Remarks
In Windows Forms and Web Forms designers, this method is invoked when a user double-clicks a component.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | IDesigner
Show: