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)?
From stackoverflow
-
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)
Mike C. : It might be there in WinForms and that's where I remember seeing it, but I don't see it with WebForms.JaredPar : @Mike C, yes I was definitely refering to WinForms -
Best option is to create a public property to expose the control or a subset of the control's own properties.
Hope this helps...
Mike C. : Yes, I like this solution. Thanks!
0 comments:
Post a Comment