Class and property question

M

Marc R.

Hi all,

I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while we
actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text is
align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?

I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>

Get

Return p_id

End Get

Set(ByVal Value)

p_id = Value

End Set

End Property



Marc R.
 
H

Herfried K. Wagner [MVP]

Marc R. said:
I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while
we actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text
is align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?

Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en>
 
P

Peter Macej

I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>

The XML comment must be placed above property definition:
<summary> would like to explain properties here </summary>
Public Property ID()
....

Then you must generate XML documentation file and place it in the same
folder as your class DLL. You can use our VBdocman .NET to do all the
work for you. Here is the help topic for your particular need:
http://www.vbdocman.com/net/help/index.html?page=source/deploy_context_help.htm
 
M

Marc R.

thanks for your help,

Most of the solutions are went you have an DLL, wich I don't use, that class
is only use for me to build my treeview with binded feild to a dataset.
Since I didn't discover no way to Bind a treview nodes to a dataset.

Thanks anyway, got good information for next project with an dll.
 

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