StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
BO property attributes
BO property attributes
Post Reply
Like
0
BO property attributes
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
jandyn
jandyn
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 5,
Visits: 37
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
Attachments
2grids.png
(
134 views,
38.00 KB
)
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Please read my post on that thread. Thanks.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search