Hi,
Can you give an x:Name to your LayoutDocumentPane in xaml and add LayoutDocument to it ?
Can you give an x:Name to your LayoutDocumentPane in xaml and add LayoutDocument to it ?
private void Button_Click_1( object sender, RoutedEventArgs e )
{
_layoutDocumentPane.Children.Add( new LayoutDocument() { Content = new TextBlock() { Text = "My Text"}, Title = "New Doc" } );
}