default properties on controls
Hi
I am modifying a text box to include different color backgrounds when the control recieves focus and if the value changes, change the color again when the control looses focus. My question is when I add a text box to a user control project I can see standard properties like Readonly, MultiLine, Accepts Tab etc, but when I compile the control and add it to a project none of these properties are visible, I assume I would need to expose these properties using a public property get/set.
I suppose my question is why aren't these properties exposed by default, they would be if I added the text box to the app without creating a user control so why not when adding to a user control.
Or have I missed some coding switch that enables all these properties?
Duncan
__________________
Duncan
|