How to Create a User Control

  • Thread starter Thread starter Guest
  • Start date Start date
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, ( If the code is in Vb.Net syntax It'll be useful to me)
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.
 
Back
Top