Browsable attribute help...
-
Hi all, I use property grid to display the properties of my object. But there are some properties should not be appeared depend on their values. Thus it isn't able to hard-code the Browsable attribute as "true" ([Browsable(true)]) or "false" ([Browsable(false)]) on these properties. I consider that I have to make an own attribute which does something likes Browsable attribute. But now I don't have any ideas to implement this class. If you found out the way to solve this issue, please let me know. Thanks for your helps so much.
-
Hi all, I use property grid to display the properties of my object. But there are some properties should not be appeared depend on their values. Thus it isn't able to hard-code the Browsable attribute as "true" ([Browsable(true)]) or "false" ([Browsable(false)]) on these properties. I consider that I have to make an own attribute which does something likes Browsable attribute. But now I don't have any ideas to implement this class. If you found out the way to solve this issue, please let me know. Thanks for your helps so much.
a) I have no idea. b) Here's a link to some property information, hope it helps a tad. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/vsnetpropbrow.asp