none
WPF Flow Document Page Break RRS feed

  • Question

  • How can I break the Gridviews or Listviews in Flow Document to different pages.

    Is there any way to put a page break between two paragaraphs as my Listview is inside a paragraph?

    Thanks

    Monday, June 21, 2010 8:59 PM

Answers

  • That is probably b/c your GridViews/ListViews are too large to fit in the alloted space so they are pushed to the next page.  UIElements do not paginate, so they get pushed to the next page and are clipped if need be.  I would need a more detailed example to determine exactly where your problem lies.
    • Marked as answer by CSharpAtWork Tuesday, June 22, 2010 7:34 PM
    Tuesday, June 22, 2010 3:53 PM

All replies

  • <

     

     

    Paragraph BreakPageBefore="True"...

    Monday, June 21, 2010 10:20 PM
  • This is giving me a blank pages and print all grids in the last page.

    Tuesday, June 22, 2010 3:14 PM
  • That is probably b/c your GridViews/ListViews are too large to fit in the alloted space so they are pushed to the next page.  UIElements do not paginate, so they get pushed to the next page and are clipped if need be.  I would need a more detailed example to determine exactly where your problem lies.
    • Marked as answer by CSharpAtWork Tuesday, June 22, 2010 7:34 PM
    Tuesday, June 22, 2010 3:53 PM
  • Thanks for your suggestion.It really helped in solving my problem.

     

    • Edited by CSharpAtWork Tuesday, June 22, 2010 4:56 PM More explanation
    Tuesday, June 22, 2010 4:50 PM