# FarPoint.Web.Spread.AppearanceProperty.GetIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_AppearanceProperty_GetIndex_" data-uid="FarPoint.Web.Spread.AppearanceProperty.GetIndex*">GetIndex Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_AppearanceProperty_GetIndex_" data-uid="FarPoint.Web.Spread.AppearanceProperty.GetIndex*"></a>
<h4 id="FarPoint_Web_Spread_AppearanceProperty_GetIndex_FarPoint_Web_Spread_AppearanceProperty_" data-uid="FarPoint.Web.Spread.AppearanceProperty.GetIndex(FarPoint.Web.Spread.AppearanceProperty)">GetIndex(AppearanceProperty)</h4>
<div class="markdown level1 summary"><p>Returns the integer value associated with the given AppearanceProperty object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual int GetIndex(AppearanceProperty prop)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetIndex(prop As AppearanceProperty) As Integer</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="FarPoint.Web.Spread.AppearanceProperty.html">AppearanceProperty</a></td>
      <td><span class="parametername">prop</span></td>
      <td><p>AppearanceProperty</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
