Sort project nodes

At design time, you can use C# to sort nodes within the parent node through the MoveUp() and MoveDown() methods.

Methods

You can invoke these methods on a node:
MoveUp()

Moves the node up by one position with respect to the sister nodes within the parent node.

Invoking the MoveUp() method on the first node within the parent node has no effect.

MoveDown()

Moves the node down by one position with respect to the sister nodes within the parent node.

Invoking the MoveDown() method on the last node within the parent node has no effect.

Graphic objects considerations

If you sort graphic objects with the MoveUp() and MoveDown() methods:
  • The methods only have an effect if invoked on a graphic object within a type (for example a Panel (type)).

  • To see the function effect on the graphic, reload the page manually.