Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to set the default fonts preferences used in Visual Studio 2010 controls, such as in labels, textboxes, comboboxes and so on?

For example, all textboxes that I add to my form will have the font Arial, size 14, bold, backcolor yellow by default, without having to change them by hand.

I know I can select them all and change the font manually, but I would like to know if such an option is available.

share|improve this question

closed as off topic by ChrisF, Nifle, Ƭᴇcʜιᴇ007, 8088, Sathya Nov 4 '11 at 5:21

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Depending on which language(s)/platforms you are working, perhaps CSS? :) –  Ƭᴇcʜιᴇ007 Sep 27 '11 at 20:48
    
opsss .sorry... Iam using C# –  hackforVS2010 Sep 28 '11 at 8:15
add comment

2 Answers 2

If you set the font and colors on the form before you add any objects(buttons,textbox...) the font and colors setting will be what you set on the form for the object. I hope this helps.

share|improve this answer
    
thanks for the hint ...still need some effective ways to auto change controls properties (î have textboxes, labels, listviews, ... i want to assign different colors and different font props. to them).... –  hackforVS2010 Sep 27 '11 at 12:06
add comment

If you want to be able to mix fonts, styles and colors on the same form, subclass the controls you want to use and assign whatever fonts and colors are required in the constructor.

share|improve this answer
    
thanks for the answer..good idea indeed, still will make me more work than doing it by hand ...but thanks for the hint –  hackforVS2010 Sep 27 '11 at 12:06
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.