Parameters
- view
- the GoView whose GoView.MoveSelection or GoView.CopySelection or similar method is calling this method
- origLoc
- the original Location
- newLoc
- the new Location
Location = ComputeMove(origLoc, newLoc)
However, you can override this method or ComputeMove to constrain the places that this object can be moved to by the user. You will still be able to move this object programmatically by setting the Location or Position property directly. If you want to constrain this object's movement both interactively and programmatically, you should override the Bounds property. Override ComputeMove if you want to constrain the user's movement of this object without regard to the actual view or input events causing the move.