Custom Control Property HelpText Property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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
 
Back
Top