GoXam for WPF v3
OnPositionChanged(Point,Point) Method
Northwoods.GoXam Namespace > DiagramPanel Class : OnPositionChanged(Point,Point) Method
a Point in model coordinates
a Point in model coordinates
This overridable method is called when the Position changes.
Syntax
protected virtual void OnPositionChanged( 
   Point oldpos,
   Point newpos
)

Parameters

oldpos
a Point in model coordinates
newpos
a Point in model coordinates
Remarks
This may change the 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 Position. This method calls OnViewportBoundsChanged.
See Also

Reference

DiagramPanel Class
DiagramPanel Members