本帖最后由 CsToD 于 2010-01-29 23:28:02 编辑

解决方案 »

  1.   


        <Grid> 
            <Button FontSize="100" Text="中国"></Button> 
        </Grid> 
    这样试试?
      

  2.   

    那你为什么不指定Key啊?WPF的Resource应该可以指定Key的吧?就像ASP.NET的Theme似的。
      

  3.   

    WPF很讲理,你从矛盾中才能发现理是什么——前提是你不要用自己的理来理解别人的理。
      

  4.   

    Application.Resources的作用域和Window.Resources的作用域不同吧,在Window.Resources中没有改变到Button的字体是正常的,因为你的TargetType是TextBlock,而Application.Resources中定义TextBlock的样式会影响到Button是因为Application.Resources中的Style可以作用到基本元素中,而Button中的文字呈现恰好用到了TextBlock。
      

  5.   

    wpf很新   很多技术文章都是英文的  我还是等 msdn出 在学  呵呵 欢迎加入编程群103249237 大家一起学习一起进步
      

  6.   

    刚刚接触WPF  很稀奇 多学点知识有好处 顶
      

  7.   

    这不奇怪吧,Application作用的是整个Application,而Window作用的是Window本身
      

  8.   


    .............Button本来就在Window的作用域,汗............
      

  9.   

    这样试试:
     <Application.Resources> 
            <Style TargetType="Button"> 
                <Setter Property="FontFamily" Value="华文彩云"/> 
            </Style> 
        </Application.Resources>