# C1.Win.Ribbon.RibbonControlHost.Text

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Ribbon_RibbonControlHost_Text_" data-uid="C1.Win.Ribbon.RibbonControlHost.Text*">Text Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Ribbon_RibbonControlHost_Text_" data-uid="C1.Win.Ribbon.RibbonControlHost.Text*"></a>
<h4 id="C1_Win_Ribbon_RibbonControlHost_Text" data-uid="C1.Win.Ribbon.RibbonControlHost.Text">Text</h4>
<div class="markdown level1 summary"><p>Gets or sets the text associated with the hosted control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Appearance&quot;)]
[C1Description(&quot;RibbonControlHost.Text&quot;, &quot;Gets or sets the text associated with the hosted control.&quot;)]
public virtual string Text { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Appearance&quot;)&gt;
&lt;C1Description(&quot;RibbonControlHost.Text&quot;, &quot;Gets or sets the text associated with the hosted control.&quot;)&gt;
Public Overridable Property Text As String</code></pre>
</div>
</div>
