# FarPoint.Win.Spread.Chart.ChartShape.Border

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_ChartShape_Border_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.Border*">Border Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_ChartShape_Border_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.Border*"></a>
<h4 id="FarPoint_Win_Spread_Chart_ChartShape_Border" data-uid="FarPoint.Win.Spread.Chart.ChartShape.Border">Border</h4>
<div class="markdown level1 summary"><p>Gets or sets the border for the element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override IBorder Border { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property Border As IBorder</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ElementWindowless.Border.html#FarPoint_Win_ElementWindowless_Border">ElementWindowless.Border</a></div>
<h5 id="FarPoint_Win_Spread_Chart_ChartShape_Border_examples">Examples</h5>
<pre><code class="lang-csharp">element.Picture = System.Drawing.Image.FromFile("d:\\mail16A.ico");
element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight;
element.PictureMargin = 25;
element.MarginBottom = 20;
element.DrawFocusRectangle = FarPoint.Win.DrawFocusRectangle.AroundText;
element.Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered,SystemColors.ControlLightLight,SystemColors.ControlDark,3,true,true,false,false);</code></pre>
<pre><code class="lang-csharp">element.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico")
element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight
element.PictureMargin = 25
element.MarginBottom = 20
element.DrawFocusRectangle = FarPoint.Win.DrawFocusRectangle.AroundText
element.Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered,SystemColors.ControlLightLight,SystemColors.ControlDark,3,True,True,False,False)</code></pre>

</div>
