title: Adding all items in Available-Item Section to Devexpress Layout Control?
body: <p>I try using <a href="http://help.devexpress.com/#WPF/CustomDocument8147" rel="nofollow">Devexpress Layout-Control</a> (For costume usage). So I want add all item's exist in <code>Available-Item Section</code> to Layout-Control root as <code>Layout-Item</code> via code .  </p>
  
  <p>So it must be possible, <strong><code>But How?</code></strong> (I don't know, any solution ;)</p>
  
  <p><strong>Edit 1</strong>  sorry For less information at first time  </p>
  
  <p>Let me explain What I do in My example, I Use code to create one or more Control in Layout-Control at <code>Form-Loaded Event</code>.   </p>
  
  <p>After that in one <code>Button_Click</code>, I Use :</p>
  
  <pre><code> Layout1.WriteToXML(XmlWriter_Object);
  </code></pre>
  
  <p>to save <strong><code>Layout Current View</code></strong>. These step work well! if I want recover that view at next step with this command :  </p>
  
  <pre><code> Layout1.ReadFromXML(XmlReader_Object);
  </code></pre>
  
  <p>As Result I got all item's(which created via code) in Available-Item Section! So this is My problem! </p>
  
  <p>Why These Happend?</p>
  
  <blockquote>
    <p>Ps: Both XmlReader_Object and XmlWriter_Object refer same file on machin.</p>
  </blockquote>