Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnPositionChanged( _ ByVal oldpos As Point, _ ByVal newpos As Point _ ) |
Parameters
- oldpos
- a
Point
in model coordinates - newpos
- a
Point
in model coordinates
This may change the DiagramPanel.Position in order to maintain the desired content alignment. This method may be called during initialization even if the old and new position values are the same. This respects the
UseLayoutRounding
property to round off the DiagramPanel.Position. This method calls OnViewportBoundsChanged.