Adding a usercontrol's property in the property window

  • Thread starter Zyrthofar Blackcloak
  • Start date
Z

Zyrthofar Blackcloak

Hi

I have created a control with 3 properties (TextDiff, DarkColorDiff
and LightColorDiff). When I use that control in a program, I would
like those properties to show up in the property window with all the
other properties for that control.

How could I do that? I had hoped that declaring them as properties
would work, but that doesn't seem to be the case...

thanks
 
H

Herfried K. Wagner [MVP]

* Zyrthofar Blackcloak said:
I have created a control with 3 properties (TextDiff, DarkColorDiff
and LightColorDiff). When I use that control in a program, I would
like those properties to show up in the property window with all the
other properties for that control.

\\\
Imports System.ComponentModel
..
..
..
<Browsable()> _
Public Property...
...
End Property
///
 

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

Top