# C1.Win.FlexGrid.Node.Move

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_Node_Move_" data-uid="C1.Win.FlexGrid.Node.Move*">Move Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_Node_Move_" data-uid="C1.Win.FlexGrid.Node.Move*"></a>
<h4 id="C1_Win_FlexGrid_Node_Move_C1_Win_FlexGrid_NodeMoveEnum_C1_Win_FlexGrid_Node_" data-uid="C1.Win.FlexGrid.Node.Move(C1.Win.FlexGrid.NodeMoveEnum,C1.Win.FlexGrid.Node)">Move(NodeMoveEnum, Node)</h4>
<div class="markdown level1 summary"><p>Moves a node to a new position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Move(NodeMoveEnum moveTo, Node targetNode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Move(moveTo As NodeMoveEnum, targetNode As Node) As Boolean</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="C1.Win.FlexGrid.NodeMoveEnum.html">NodeMoveEnum</a></td>
      <td><span class="parametername">moveTo</span></td>
      <td><p>A value from the <a class="xref" href="C1.Win.FlexGrid.NodeMoveEnum.html">NodeMoveEnum</a> enumeration that specifies
where the node will be moved with respect to its current position.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.FlexGrid.Node.html">Node</a></td>
      <td><span class="parametername">targetNode</span></td>
      <td><p><a class="xref" href="C1.Win.FlexGrid.Node.html">Node</a> object to use as a target when the <code class="paramref">moveTo</code>
parameter is set to <a class="xref" href="C1.Win.FlexGrid.NodeMoveEnum.html#C1_Win_FlexGrid_NodeMoveEnum_ChildOf">ChildOf</a>.</p>
</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.boolean">bool</a></td>
      <td><p>Returns true if the method was successful, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_FlexGrid_Node_Move_" data-uid="C1.Win.FlexGrid.Node.Move*"></a>
<h4 id="C1_Win_FlexGrid_Node_Move_C1_Win_FlexGrid_NodeMoveEnum_" data-uid="C1.Win.FlexGrid.Node.Move(C1.Win.FlexGrid.NodeMoveEnum)">Move(NodeMoveEnum)</h4>
<div class="markdown level1 summary"><p>Moves a node to a new position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Move(NodeMoveEnum moveTo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Move(moveTo As NodeMoveEnum) As Boolean</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="C1.Win.FlexGrid.NodeMoveEnum.html">NodeMoveEnum</a></td>
      <td><span class="parametername">moveTo</span></td>
      <td><p>A value from the <a class="xref" href="C1.Win.FlexGrid.NodeMoveEnum.html">NodeMoveEnum</a> enumeration that specifies where
the node will be moved with respect to its current position.</p>
</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.boolean">bool</a></td>
      <td><p>Returns true if the method was successful, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
