title: How to set focus to dx-text-box?
body: <p>I use <a href="https://js.devexpress.com/" rel="nofollow noreferrer">dev extreme</a>  UI framework in Angular application.</p>
  
  <p>In documentation I have found how to set <code>focus</code> it says to use <code>method focus()</code></p>
  
  <p>But there is not focus in <code>DxTextBoxComponent</code></p>
  
  <p>How to set focus?</p>
  
  <p>My code is:</p>
  
  <pre><code>@ViewChild("name", { static: false }) public inputName: DxTextBoxComponent;
  
    ngAfterViewInit() {
      this.inputName.instance.focus();
    }
  </code></pre>
  
  <p>HTML is:</p>
  
  <pre><code>&lt;dx-text-box #name&gt;
  </code></pre>
  
  <p>No effect</p>