title: Change format of sap.m.Text component from the view
body: <p>I can quite handily change a button in the view using it's property 'type' in an expression..</p>
  
  <pre><code> type="{= (${Orders&gt;SupplierNote} &amp;amp;&amp;amp; ${Orders&gt;SupplierNote} !== '') ?     
  'Reject' : (${Orders&gt;InternalNote} &amp;amp;&amp;amp; ${Orders&gt;InternalNote} !== '') ? 
  'Emphasized' : 'Default'}"/&gt; 
  </code></pre>
  
  <p>The problem is, how do I do this for a Text component?</p>
  
  <p>I can't overwrite the class and it doesn't have a type.</p>