Consider the following simple class:
Public Class SomeClass
Private _AnInteger As Integer
Public Property AnInteger As Integer
Get
Return _AnInteger
End Get
Set(Value As Integer)
_AnInteger = Value
End Set
End Property
End Class
If I use the PropertyGrid to display an object of this type, the property
is displayed as "AnInteger". I would like to make the property appear
with alternate text for the property name, but still map to the right
property.
For example, I would like the property in the grid to read "My Integer
Value" (note that I've included spaces) instead of "AnInteger".
Is there any way to make the property grid do this? Or does anyone know of
a control that could do this?
Perhaps what I'm looking for is an attribute that could be applied to the
property to change the display of the grid. But I could not find any.
Thanks,
--
Chris
dunawayc[AT]sbcglobal_lunchmeat_[DOT]net
To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.