2017-07-09 14 views
0
私はチャートの印刷ダイアログの外観をカスタマイズして感じることができる方法

ダイアログやスナップショットを表示するために使用されるコード怒鳴るカスタマイズ印刷プレビューダイアログの[DevExpress社]チャート・コントロール

私は怒鳴るを制御する必要があります。 - 表示/非表示のアイコン - 私自身のアイコンに変更アイコン - 有効/無効のアイコン print preview dialog

答えて

0

私は 怒鳴るような答えを発見したDocumentPreviewControl

<dxp:DocumentPreviewControl Name="PrintPreview"> 
 
      <dxp:DocumentPreviewControl.CommandProvider> 
 
       <dxp:DocumentCommandProvider> 
 
        <dxp:DocumentCommandProvider.RibbonActions> 
 

 
         <!--Customize Action--> 
 
         <dxb:UpdateAction ElementName="{x:Static dxpbars:DefaultPreviewBarItemNames.Print}" 
 
            Property="{x:Static dxb:BarItem.LargeGlyphProperty}" 
 
            Value="{dx:QualifiedImage Uri=../../../Images/Export.png}" /> 
 
         <!--Remove Action--> 
 
         <!--<dxb:RemoveAction ElementName="{x:Static dxpbars:DefaultPreviewBarItemNames.FileGroup}"/>--> 
 

 
         <!--Add New Action--> 
 
        </dxp:DocumentCommandProvider.RibbonActions> 
 
       </dxp:DocumentCommandProvider> 
 
      </dxp:DocumentPreviewControl.CommandProvider> 
 
     </dxp:DocumentPreviewControl>

+0

感謝マン..... – Amr

関連する問題