Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2005

Tip: Looking for answers? Try searching our database.

Custom Control Property HelpText Property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GreyAlien007 - 20 Jan 2005 02:37 GMT
Yeah, reading the subject, it makes no sense...but here goes..

I made a textbox control w/ some added features...the problem is, whenever I
go to use it, I forget what my custom properties do.  Is there a way to put
helptext into the custom properties so it appears in the bottom of the
property window like all of the standard properties of standard controls?  I
think if it can be done it has something to do with accessing the appropriate
attribute of the property using the system.reflection namespace...but yeah, I
don't know, that's why I'm asking!
Extreme Datasets - 20 Jan 2005 06:17 GMT
Hello GreyAlien007,

If you are using VB.Net:

<System.ComponentModel.Description("Your description")> _
Public Property Test() As String
Get
End Get
Set (ByVal Value As String)
End Set
End Property

If you are using C#:
[System.ComponentModel.Description("Your Description")]
public class YourClass
{
}

I hope this helps.

Jeffrey Grizzle

> Yeah, reading the subject, it makes no sense...but here goes..
>
[quoted text clipped - 5 lines]
> attribute of the property using the system.reflection namespace...but yeah, I
> don't know, that's why I'm asking!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.