How to Create a user Control

G

Guest

Hai,

I need to Create a set of Usercontrol which will be used across my Project,
the reason is, if i want to change the format or font properties in future I
will change the formats in the usercontrol base control( ie the source from
where i've used the control ) then it should be reflected in all the
usercontrols i 've used in my project without doing anything in my project's
controls...

please give me an sample code to create a User control & using it in my
project,
for example if i want to create a User control of Text Box which contains
the following properties:

Back Color - Yellow
Font - Arial
Size - 12
Font Style - Bold


ThanX in Adv.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top