2014-10-08 207 views
0

我有這樣一個功能區頁組:的DevExpress使RibbonPageGroup標題大膽

<dxr:RibbonPageGroup Name="newReports" Caption="New Reports"> 

我想說明一下大膽。我怎樣才能做到這一點?我在網上搜索,但找不到任何東西。

回答

1

嘗試設置RibbonControl.GroupCaptionTextStyle

從DevExpress的documentation

備註

應用樣式畫在自定義的方式說明,使用RibbonControl.GroupCaptionTextStyle。

樣本:(taken from devexpress Support Center)

<dxr:RibbonPageGroup Name="newReports" Caption="New Reports"> 
    <dxr:RibbonControl.GroupCaptionTextStyle> 
     <Style TargetType="{x:Type ContentControl}"> 
      <Setter Property="FontWeight" Value="Bold"/> 
     </Style> 
    </dxr:RibbonControl.GroupCaptionTextStyle> 
</dxr:RibbonPageGroup> 
+0

謝謝你,但我不能這樣做,你說的話。你可以舉個例子嗎? – jason 2014-10-08 13:38:50

+0

試試這個例子。雖然我沒有devexpress編譯代碼 – kennyzx 2014-10-08 13:49:30