title: Need to set controls anchor property
body: <p>One of my windows constitutes many controls, I need to set anchor property <strong>top and right</strong> ,Note: I need to handle positional property independently for each control. I don't want to set this property manually .Need help to set anchor property for the control dynamically.</p>
  
  <p>I write the bellow syntax</p>
  
  <pre><code> DynamicControlsProperty od = new DynamicControlsProperty();
      foreach (Control item in this.controls)
      {
          item.Anchor = AnchorStyles.None;
          item.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
      }
  </code></pre>
  
  <p>Using the above syntax on my window form, controls are not appear as anchor set on the above syntax.Controls are appear as <strong>default</strong> anchor set.</p>