I have a situation where I wanted to expose the properties of a constituent control(TextBox in this case) of my user control in the property grid. I found this to be very simple by just making a public property for my TextBox and works fine. The problem is that it doesnt write the changes of the TextBox state to the code file. If I expose they properties of the TextBox directly off the user control it does save them to the code file. I guess my question is would be: Do I have to expose every property of the constituent control on the user control to get it to generate the code or is there a work around. Someone please point me in the right direction:(
M
Matt Davison
@Matt Davison
Posts
-
Exposing constituent control properties in VS.NET -
Is it worth to learn C++ ??Michael P Butler wrote: Yeah but it ain't exactly a stable, reliable product at the moment The bugs are hardly the result of C#. In the end bugs come from people... Now maybe I'm wrong but I would be willing to bet that the clr had nothing to do with the bugs.