Poser une questionPoser une question
 

Questionhow can you exclude elements from XPS?

  • vendredi 26 juin 2009 14:28g_sinner Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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!