title: Add Resource in code behind
body: <p>I tried searching how to add Resources in code behind. Need to add the following in code behind</p>
  
  <pre><code> &lt;DockManager:XamDockManager.Resources&gt;
  
                  &lt;SolidColorBrush x:Key="{x:Static DockManager:DockManagerBrushKeys.TabbedListActiveTextFillKey}" Color="Green"/&gt;
                  &lt;SolidColorBrush x:Key="{x:Static DockManager:DockManagerBrushKeys.TabbedListNotActiveTextFillKey}" Color="Pink"/&gt;
  
  
          &lt;/DockManager:XamDockManager.Resources&gt;
  </code></pre>
  
  <p>The Dockmanager is created in the code behind</p>
  
  <p>Thanks</p>