# FarPoint.Web.Spread.IExpandoSupport.ApplyAttributes

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_IExpandoSupport_ApplyAttributes_" data-uid="FarPoint.Web.Spread.IExpandoSupport.ApplyAttributes*">ApplyAttributes Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_IExpandoSupport_ApplyAttributes_" data-uid="FarPoint.Web.Spread.IExpandoSupport.ApplyAttributes*"></a>
<h4 id="FarPoint_Web_Spread_IExpandoSupport_ApplyAttributes_System_Web_UI_WebControls_WebControl_" data-uid="FarPoint.Web.Spread.IExpandoSupport.ApplyAttributes(System.Web.UI.WebControls.WebControl)">ApplyAttributes(WebControl)</h4>
<div class="markdown level1 summary"><p>Gets the properties (or attributes) and applies them to the specified control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ApplyAttributes(WebControl control)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ApplyAttributes(control As WebControl)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.webcontrols.webcontrol">WebControl</a></td>
      <td><span class="parametername">control</span></td>
      <td><p>Specified control</p>
</td>
    </tr>
  </tbody>
</table>
</div>
