# C1.Win.FlexGrid.C1FlexGridBase.ShowScrollTip

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_FlexGrid_C1FlexGridBase_ShowScrollTip" data-uid="C1.Win.FlexGrid.C1FlexGridBase.ShowScrollTip" class="text-break">ShowScrollTip Event
</h1>
<div class="markdown level0 summary"><p>Fires before the vertical ScrollTip is displayed.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
<h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_ShowScrollTip_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event RowColToolTipEventHandler ShowScrollTip</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event ShowScrollTip As RowColToolTipEventHandler</code></pre>
</div>
<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="C1.Win.FlexGrid.RowColToolTipEventHandler.html">RowColToolTipEventHandler</a></td>
      <td>Fires before the vertical ScrollTip is displayed.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_ShowScrollTip_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event fires only if the <b>ShowScrollTips</b> flag is set in the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.ScrollOptions.html#C1_Win_FlexGrid_C1FlexGridBase_ScrollOptions">ScrollOptions</a> property.</p>
<p>It allows you to specify the text that will be displayed in the scroll tip.</p>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_ShowScrollTip_examples"><strong>Examples</strong></h5>
<p>The code below uses the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.ShowScrollTip.html">ShowScrollTip</a> event to display a scroll tip showing the value of the
first cell that will become visible when the user stops scrolling.</p>
<pre><code class="lang-csharp">_flex.ScrollOptions = ScrollFlags.DelayedScroll | ScrollFlags.ShowScrollTips;
void _flex_ShowScrollTip(object sender, ToolTipEventArgs e)
{
    e.ToolTipText = string.Format("row {0}", e.Row);
}</code></pre>

</div>
