【问题标题】:Dev express Grid View column header sizeDevexpress Gridview 列标题大小
【发布时间】:2011-09-21 12:28:16
【问题描述】:

是否有网格视图控件的属性可以设置列标题的文字大小?

【问题讨论】:

    标签: asp.net vb.net devexpress


    【解决方案1】:

    对于那个控件,你有一个HeaderStyle 的Porperty

    例如:

    <HeaderStyle ForeColor="White" Font-Bold="True" 
                  BackColor="#A55129"></HeaderStyle>
    

    在 MSDN 上有很好的解释:

    Formatting the GridView

    【讨论】:

      【解决方案2】:

      抱歉,我忘了说它需要在服务器端。弄清楚了。

      Me.Grid.Columns(columName).HeaderStyle.Font.Size = 50

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-05-18
        • 1970-01-01
        相关资源
        最近更新 更多