DesignerActionService.GetComponentDesignerActions Method

Retrieves the pull-model smart tags associated with a component.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

protected:
virtual void GetComponentDesignerActions (
	IComponent^ component, 
	DesignerActionListCollection^ actionLists
)
protected void GetComponentDesignerActions (
	IComponent component, 
	DesignerActionListCollection actionLists
)
protected function GetComponentDesignerActions (
	component : IComponent, 
	actionLists : DesignerActionListCollection
)
Not applicable.

Parameters

component

The component that the smart tags are associated with.

actionLists

The collection to add the associated smart tags to.

Exception typeCondition

ArgumentNullException

One or both of the parameters are a null reference (Nothing in Visual Basic).

The GetComponentDesignerActions method is a helper method for the GetComponentActions methods. GetComponentDesignerActions searches for pull-model smart tags of type Component, and then adds these to the supplied actionLists collection.

If the component's developer does not explicitly supply a collection of smart tags through the ActionLists property of its designer, this method will reuse the design-time shortcut menu entries, which are obtained through the Verbs property of the designer.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: