Reshape Handle Provider Demo

This demo shows how to implement a custom IReshapeHandleProvider.

This IReshapeHandleProvider is provided for ports to reshape their port visualization.

Things to Try

  • Select a green or blue port and see its reshape handles at its corners. Also note that there is a different handle at the center that was provided by the IHandleProvider to change the port location.
  • Drag one of the reshape handles to change the size of the port visualization. Note that the size can't be decreased below a specific minimum size.
  • Press and hold Ctrl and see that further reshape handles appear on the left, right, top and bottom side of selected ports. These handles reshape the port either horizontally or vertically.