title: Unable to add grid title to gridview using DevExpress vb.net
body: <p>I've tried the following code found on the DevExpress site but I get a NullReferenceException
  at the <code>view.Bands.Clear()</code></p>
  
  <pre><code>Dim view As BandedGridView = TryCast(gridControl1.MainView, BandedGridView)
  view.Bands.Clear()
  
  'Create the bands layout.  
   Dim bandProdInf As GridBand = view.Bands.Add()
   bandProdInf.Caption = "Notification Details - Drilling"
  </code></pre>
  
  <p>This would be the look of the gridview that I would like:
  <a href="https://www.devexpress.com/Support/Center/Attachment/GetAttachmentFile/e5cb046f-fb25-46a4-9ae8-25ba612daa01" rel="nofollow">https://www.devexpress.com/Support/Center/Attachment/GetAttachmentFile/e5cb046f-fb25-46a4-9ae8-25ba612daa01</a></p>
  
  <p>"Notification Details - Drilling" would appear as the title of the gridview.  </p>