Mike Cole
Mike Cole

Reputation: 14723

Visual Studio 2008 - Where is the modifiers property of a control?

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)?

Upvotes: 0

Views: 529

Answers (2)

Norbert B.
Norbert B.

Reputation: 5730

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

Hope this helps...

Upvotes: 2

JaredPar
JaredPar

Reputation: 755141

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)

Upvotes: 0

Related Questions