How to specify default font and size for a control in Visual Studio?

I create reports in visual studio, and I'm looking for a way to specify the default font and size to apply to the text field every time I drop it into the constructor.

Update: this is not winforms or web form development, but the use of the report designer in visual studio. My biggest problem is that the default text box is 0.25 inches tall and after I change the font from Arial, 10pt to Tahoma, the 8pt text box should be changed to .2 inches tall.

+3
source share
4 answers

, , ( , ssrs-2008 - Reporting Services SQL Server), , WinForms WebForms ( @pablito @jmein).

SSRS VS2005. , , . , , , , .

XML- , XSLT, XML. , SLICK, , , .

+1

, , , , .

+1

@john's, , , , WebForms,

WebForms:

, , .skin App_Themes, , , , , skinId

<asp:TextBox runat="server" CssClass="skin_Textbox" />
<asp:TextBox runat="server" skinID="txt_"  Width="20px" CssClass="skin_Textbox" />
0

, , , (, ).
/ ( , ).

0

Source: https://habr.com/ru/post/1706134/


All Articles