# C1.WPF.Gauge.GaugeMark.Render

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Gauge_GaugeMark_Render_" data-uid="C1.WPF.Gauge.GaugeMark.Render*">Render Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Gauge_GaugeMark_Render_" data-uid="C1.WPF.Gauge.GaugeMark.Render*"></a>
<h4 id="C1_WPF_Gauge_GaugeMark_Render_System_Windows_Media_DrawingContext_System_Windows_Point_System_Windows_Point_System_Windows_Media_Brush_" data-uid="C1.WPF.Gauge.GaugeMark.Render(System.Windows.Media.DrawingContext,System.Windows.Point,System.Windows.Point,System.Windows.Media.Brush)">Render(DrawingContext, Point, Point, Brush)</h4>
<div class="markdown level1 summary"><p>Draw the mark.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void Render(DrawingContext drawingContext, Point startPoint, Point endPoint, Brush brush)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub Render(drawingContext As DrawingContext, startPoint As Point, endPoint As Point, brush As Brush)</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.windows.media.drawingcontext">DrawingContext</a></td>
      <td><span class="parametername">drawingContext</span></td>
      <td><p>The context to draw the mark to.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><span class="parametername">startPoint</span></td>
      <td><p>The point where the mark starts.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><span class="parametername">endPoint</span></td>
      <td><p>The point were the mark ends.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td><p>The brush used to paint the mark.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
