Creating Smart Tag Designer

J

Jack Jackson

I'm trying to create my first Smart Tag designer in VB 2005 but am
unable to create a class derived from
System.ComponentModel.Design.DesignerActionList.

Public Class xx
Inherits System.ComponentModel.Design.DesignerActionList

gives on the Inherits line the error: Type
'System.ComponentModel.Design.DesignerActionList' is not defined.

In the Object Browser I can see DesignerActionList, along with 17 more
items that begin with DesignerAction.

When I type: System.ComponentModel.Design.
Intellisense doesn't show any items that start with DesignerAction. I
do see the other items in System.ComponentModel.Design.

This must be something stupid I am doing wrong, but I can't see it.

Any ideas?
 
J

Jack Jackson

I'm trying to create my first Smart Tag designer in VB 2005 but am
unable to create a class derived from
System.ComponentModel.Design.DesignerActionList.

Public Class xx
Inherits System.ComponentModel.Design.DesignerActionList

gives on the Inherits line the error: Type
'System.ComponentModel.Design.DesignerActionList' is not defined.

In the Object Browser I can see DesignerActionList, along with 17 more
items that begin with DesignerAction.

When I type: System.ComponentModel.Design.
Intellisense doesn't show any items that start with DesignerAction. I
do see the other items in System.ComponentModel.Design.

This must be something stupid I am doing wrong, but I can't see it.

Any ideas?

I didn't see that the DesignerAction classes are all in System.Design,
which I had not imported.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top