# C1.Win.Chart.Toolbar.ChartMenuItemBase.AddNumericProperty

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_Toolbar_ChartMenuItemBase_AddNumericProperty_" data-uid="C1.Win.Chart.Toolbar.ChartMenuItemBase.AddNumericProperty*">AddNumericProperty Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_Toolbar_ChartMenuItemBase_AddNumericProperty_" data-uid="C1.Win.Chart.Toolbar.ChartMenuItemBase.AddNumericProperty*"></a>
<h4 id="C1_Win_Chart_Toolbar_ChartMenuItemBase_AddNumericProperty_System_String_System_Double_System_Action_System_Double__System_Double_System_Double_System_Int32_" data-uid="C1.Win.Chart.Toolbar.ChartMenuItemBase.AddNumericProperty(System.String,System.Double,System.Action{System.Double},System.Double,System.Double,System.Int32)">AddNumericProperty(string, double, Action&lt;double&gt;, double, double, int)</h4>
<div class="markdown level1 summary"><p>Creates numeric property editor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected NumericUpDown AddNumericProperty(string label, double value, Action&lt;double&gt; onChanged, double min, double max, int decimals = 0)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function AddNumericProperty(label As String, value As Double, onChanged As Action(Of Double), min As Double, max As Double, Optional decimals As Integer = 0) As NumericUpDown</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.string">string</a></td>
      <td><span class="parametername">label</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">value</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>&gt;</td>
      <td><span class="parametername">onChanged</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">min</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">max</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">decimals</span></td>
      <td></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.windows.forms.numericupdown">NumericUpDown</a></td>
      <td><p>NumericUpDown control</p>
</td>
    </tr>
  </tbody>
</table>
</div>
