Export (0) Print
Expand All

ComponentDesigner.DoDefaultAction Method

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

IDesigner.DoDefaultAction

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: 

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | IDesigner

Show:
© 2014 Microsoft