473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

DescriptionAttribute

The description specified by [Description("...")] is displayed in the
property browser in the VS.NET Designer. But if the mouse is over the
property's text in the VS.NET editor, the tooltip only displays the
property's name...

Is there any way to make the tooltip also displays the property's
description? Please tell me how to do this. Thanks...

Best regards,
Zembaliti
Nov 15 '05 #1
1 2108
Hi,

You need to add XML comments to the property. The content of the
<description> tag will be displayed in the tooltip. The DescriptionAttribute
value is recognized only by the designer, but not by the code editor.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Zembaliti" <ze*******@yahoo.com> wrote in message
news:be**************************@posting.google.c om...
The description specified by [Description("...")] is displayed in the
property browser in the VS.NET Designer. But if the mouse is over the
property's text in the VS.NET editor, the tooltip only displays the
property's name...

Is there any way to make the tooltip also displays the property's
description? Please tell me how to do this. Thanks...

Best regards,
Zembaliti


Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David Coleman | last post by:
Hi All, Can anyone tell me how to add the equivalent of DescriptionAttribute for Properties to a public class Method and its passed parameters so it is displayed through intellisense. Have found...
0
by: David Coleman | last post by:
Hello all, I use DescriptionAttribute on Properties in my user controls. Works like a treat. I would like to show Method and Parameters intellisense descriptions in my public class Methods. So...
0
by: Kamal | last post by:
Really appreciate any help related to this. How do we get the description attribute value. It is not working. Please let me know if anything wrong in this. Thanks for your help. private...
5
by: =?Utf-8?B?U3RldmVU?= | last post by:
I am using in my code. I want to be able to reference a text string within my "Resource file" like this: . The issue is that Description requires a constant string. Is there anyway to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.