title: AvalonDock programmatically add control to LayoutAnchorable
body: <p>I have the following code to add an LayoutAnchorable  to an LayoutAnchorablePane but I don't know how to add a control such as a textbox to a LayoutAnchorable</p>
  
  <pre><code>InitializeComponent();
  
  LayoutAnchorablePane anchorablePane = new LayoutAnchorablePane();
  
  LayoutAnchorable layoutAnchorable = new LayoutAnchorable();
  
  layoutAnchorable.Title = "Dock1";
  
  anchorablePane.Children.Add(layoutAnchorable);
  
  anchorablePaneGroup.Children.Add(anchorablePane);
  </code></pre>
  
  <p>There are no Children property for LayoutAnchorable that I can see so I can not use the same method. </p>
  
  <p>Edit: From looking at the documentation, this can be done by simply</p>
  
  <pre><code>layoutAnchorable.Content = new TextBox();
  </code></pre>