Changing control sizes in UserControl

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

I have a text box and a label in a UserControl. I want to give the
user the ability to resize those controls within there but cannot
figure out how to do it. I am unable to override the Height, Width or
Size properties to do this as it says those are not marked as virtual,
abstract or override.

Does anyone know how to do this?
 
C#? Try the new keyword.

public new int Height
{
get {}
set {}
}

Not sure what it is in VB, but "new" should get you there.
 

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

Back
Top