title: Relative control position in .NET / Visual Studio Editor
body: <p>I am editing custom control in control editor of Visual Studio 2008</p>
  
  <p>My custom control has datagrid view on the left and buttons on the right. I want my control when resized to keep button size constant always and keep them aligned to <em>right</em> border and only my datagrid control to be resized so that horizontal distances between borders and control remained the same. (See illustration below) I remember there was some feature in WinForms and Editor like anchors or other that would me to do that automatically. I just cannot find it in MSVS.</p>
  
  <pre><code>==============================
  | ****************  *button*  |
  | * datagridview *  *button*  |
  | *              *  *button*  |
  | ****************            |
  ==============================
  
  
  =================================
  | *******************  *button*  |
  | * datagridview    *  *button*  |
  | *                 *  *button*  |
  | *******************            |
  ================================
  </code></pre>