By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,178 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

Adding a usercontrol's property in the property window

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* Zyrthofar Blackcloak <Zy*@hotmail.com> scripsit:
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
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
Greatly helped with my problem. Thank you very much!
On 28 Aug 2004 18:14:41 +0200, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote:
* Zyrthofar Blackcloak <Zy*@hotmail.com> scripsit:
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
///


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.