views:

118

answers:

2

I need to change the scope of a control from friend to public in my user control - what happened to the Modifiers property of a control? I don't see it in the property sheet. How am I supposed to change the scope of my controls now (besides going into the designer file and changing it in the auto-generated code)?

A: 

I just verified that the Modifiers row is still present under the Design group in VS2008 with WinForms and C#. I am running VS2008 SP1.

Have you tried switching to alphabetical mode and seeing if it's listed there? Which control are you using (I tried Button)

JaredPar
It might be there in WinForms and that's where I remember seeing it, but I don't see it with WebForms.
Mike C.
@Mike C, yes I was definitely refering to WinForms
JaredPar
+2  A: 

Best option is to create a public property to expose the control or a subset of the control's own properties.

Hope this helps...

norbertB
Yes, I like this solution. Thanks!
Mike C.