Why do BO properties behave differently from properties on other objects as far as attributes on them at runtime?
I'm trying to use a PropertyGrid.
If I create an object from a class that I define in code with a property on it that has an DisplayName attribute like this:
DisplayName("String 1 display name"), _
Description("This is string 1 Description"), _
Category("Test Category")> _
Public Property [String1]() As System.String
Get
Return _String1
End Get
Set(ByVal value As System.String)
_String1 = value
End Set
End Property
In the PropertyGrid it shows my display name instead of the property name in the left column for that property like a PropertyGrid is supposed to.
If I add a DisplayName attribute to a BO property, no matter what I try, the PropertyGrid always shows the property's name NOT the displayname.
Want more detail and how to reproduce: see my other posting
http://forum.strataframe.net/Topic19880-6-1.aspx