Using FixedDocument, how to detect if one item does not fit inside of the page?
===

Which what I'm doing is insert a UserControl into a FixedPage. But sometimes this userControl does not fit into the page (as you can see the image below).

![enter image description here][1]

I've showed many buttons inside of it (this is a fake usercontrol). In my userControl contains an ItemsControl with many UI elements (buttons in this case).

I don't want to resize the page. This is the demo code.

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            for (int i = 0; i < 10; i++)
            {
                UserControl1 myUserControl = new UserControl1();
                myUserControl.HorizontalAlignment = HorizontalAlignment.Stretch;
                myUserControl.VerticalAlignment = VerticalAlignment.Stretch;

                Grid grid = new Grid();
                grid.Children.Add(myUserControl);

                FixedPage fixedPage = new FixedPage();
                fixedPage.Children.Add(grid);

                Binding widthBinding = new Binding("ActualWidth");
                widthBinding.Source = fixedPage;
                Binding heightBinding = new Binding("ActualHeight");
                heightBinding.Source = fixedPage;
                grid.SetBinding(Grid.WidthProperty, widthBinding);
                grid.SetBinding(Grid.HeightProperty, heightBinding);

                PageContent pageContent = new PageContent();
                (pageContent as IAddChild).AddChild(fixedPage);

                fixedDocument.Pages.Add(pageContent);
            }
        }

What would you recomend me to solution this problem? I was thinking to split the items inside of itemsControl into two more, and have two pages.

What do you think? Does you know a blog page or question with this similiar problem?
Thanks in advance.

  [1]: http://i.stack.imgur.com/pFONT.png