title: devExpress, how to dock gridView to the panel and remove 'drag column header'?
body: <p>I cannot dock fill gridView to the panel in DevExpress Visual Studio 2010, I cannot remove "drag column header..." as well, both are visible on the screenshot.
  Can somebody help me with those issue?!
  <img src="https://i.stack.imgur.com/KD6tP.png" alt="enter image description here"></p>
  
  <p>part of the code:`EntityConnection entityConn = new EntityConnection(Utility.GetEntityConnection("ViEFConn"));</p>
  
  <pre><code>List&lt;Object&gt; myList = new List&lt;Object&gt;();
  
  //GridControl gridcon = new GridControl();
  
  using (ViEFConn dbF = new ViEFConn(entityConn))
  {
      // LINQ join query
      var query = from f in db.Fields
                            join t in db.Types
                            on f.TYPE_ID
                            equals t.TYPE_ID
                            where (f.ASS_TYPE == _assType)
                            select new
                            {
                                f.NAME,
                                f.FIELD ,
                                t.DATA,
                                f.TEXT,                            
                            };                              
  
      // add linq query to the list
      myList.AddRange(query);
      // bind data source of grid control to the list
      AssignmentDetailsGridControl.DataSource = myList;
  
      gridView1.OptionsBehavior.Editable = true;
      SaveButton.Enabled = true;
      SaveCloseButton.Enabled = true;
  
      AssignmentDetailsGridControl.Dock = DockStyle.Fill;
      gridView1.OptionsCustomization.AllowColumnMoving = false;
      gridView1.OptionsView.ShowGroupPanel = false; `
  </code></pre>