# C1.Win.Command.C1RadialMenu.CenterOnScreen

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1RadialMenu_CenterOnScreen_" data-uid="C1.Win.Command.C1RadialMenu.CenterOnScreen*">CenterOnScreen Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1RadialMenu_CenterOnScreen_" data-uid="C1.Win.Command.C1RadialMenu.CenterOnScreen*"></a>
<h4 id="C1_Win_Command_C1RadialMenu_CenterOnScreen" data-uid="C1.Win.Command.C1RadialMenu.CenterOnScreen">CenterOnScreen</h4>
<div class="markdown level1 summary"><p>Gets or sets the screen coordinates of the menu's center.
If the menu is currently invisible (<a class="xref" href="C1.Win.Command.C1RadialMenu.Visible.html#C1_Win_Command_C1RadialMenu_Visible">Visible</a> is false),
setting this property throws an exception.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Behavior&quot;)]
[C1Description(&quot;C1RadialMenu.CenterOnScreen&quot;, &quot;Specifies the screen coordinates of the menu&#39;s center.&quot;)]
public Point CenterOnScreen { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Behavior&quot;)&gt;
&lt;C1Description(&quot;C1RadialMenu.CenterOnScreen&quot;, &quot;Specifies the screen coordinates of the menu&#39;s center.&quot;)&gt;
Public Property CenterOnScreen As Point</code></pre>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
