Raistlin
September 10th, 2002, 02:07 PM
I created a user control.
I created some public properties called prop1 and prop2
both relate to SYSTEM.DRAWING.COLOR objects.
When I draw my control onto a form I can see the new properties in the Property Viewer(F4). I also see properties like BackColor and BackGroundImage properties that I do not want to show in the complied control.
How do I hide these???
I believe all the unwanted properties are coming from a datagrid that I have encapulated in my new usercontrol.(I set modifiers = private .... but nothing happen)
Thanks
Raistlin
I created some public properties called prop1 and prop2
both relate to SYSTEM.DRAWING.COLOR objects.
When I draw my control onto a form I can see the new properties in the Property Viewer(F4). I also see properties like BackColor and BackGroundImage properties that I do not want to show in the complied control.
How do I hide these???
I believe all the unwanted properties are coming from a datagrid that I have encapulated in my new usercontrol.(I set modifiers = private .... but nothing happen)
Thanks
Raistlin