# C1.WPF.FlexGrid.C1FlexGrid.ShowMarquee

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexGrid_ShowMarquee_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.ShowMarquee*">ShowMarquee Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexGrid_ShowMarquee_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.ShowMarquee*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexGrid_ShowMarquee" data-uid="C1.WPF.FlexGrid.C1FlexGrid.ShowMarquee">ShowMarquee</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that indicates whether the grid shows an Excel-style
marquee around the current selection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShowMarquee { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ShowMarquee As Boolean</code></pre>
</div>
<h5 id="C1_WPF_FlexGrid_C1FlexGrid_ShowMarquee_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default, the marquee is black and two pixels thick. You can customize
the appearance of the marquee using the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.Marquee.html#C1_WPF_FlexGrid_C1FlexGrid_Marquee">Marquee</a> property.</p>
</div>
<h5 id="C1_WPF_FlexGrid_C1FlexGrid_ShowMarquee_examples">Examples</h5>
<p>The code below shows how you can create a marquee with a thick rounded
red border and semi-transparent red interior and use that to highlight
the selection instead of the regular <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.SelectionBackground.html#C1_WPF_FlexGrid_C1FlexGrid_SelectionBackground">SelectionBackground</a>
and <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.CursorBackground.html#C1_WPF_FlexGrid_C1FlexGrid_CursorBackground">CursorBackground</a> properties.</p>
<pre><code class="lang-csharp">// customize the marquee
var m = _flex.Marquee;
m.Stroke = new SolidColorBrush(Colors.Red);
m.Fill = new SolidColorBrush(Color.FromArgb(0x20, 0xff, 0x80, 0x80));
m.StrokeThickness = 4;
m.RadiusX = 3;
m.RadiusY = 3;

// show the marquee
_flex.ShowMarquee = true;

// no need to highlight the selection/cursor
_flex.SelectionBackground = null;
_flex.CursorBackground = null;</code></pre>

</div>
