Properties of my custom "control" dont appear in Visual Studio's property grid

cjard

Well-known member
Joined
Apr 25, 2006
Messages
7,081
Programming Experience
10+
Properties of my custom "control" dont appear in Visual Studio's property grid

Hi all

Quick Q; i've taken a project that allows me to specify more about a service than the standard ServiceInstaller class, because it is extended from it. The class has some extra properties that I want to appear in the VS 2005 properties window at design time, but I'm not sure how to add them in there..


I.e. I did:

Build the project
Add reference to it
ServiceInstallerEx appears in the toolbox
I drag it to my ProjectInstaller designer surface
The same set of properties appear as for standard ServiceInstaller

What do I do to get the extra props found in ServiceInstallerEx child to show?


Any clues?

Cheeearrs
M
 
This sounds like it could be a scope issue, did you give the properties a scope of Friend or Public?
 
They have declared the properties as WriteOnly so the propertygrid can't read them.
 
Back
Top