Microsoft 开发人员网络 > 论坛主页 > XML Paper Specification (XPS) > how can you exclude elements from XPS?
提出问题提出问题
 

问题how can you exclude elements from XPS?

  • 2009年6月26日 14:28g_sinner 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    We've got an app with a tab control and a print option that prints the contents of the tabs out to XPS.  Some of the tabs include elements like toolbars and expand/collapse buttons that we'd like to exclude from the generated XPS.  Is there a tag we can include in the XAML for elements we'd like to be excluded?  Or do we need to manually toggle visibility off, then restore to prior state after the XPS is printed?
    Thanks for any ideas!