Northwoods.GoWPF 1.3.5 Assembly
OnPositionChanged(Point,Point) Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : OnPositionChanged(Point,Point) Method

oldpos
a Point in model coordinates
newpos
a Point in model coordinates
This overridable method is called when the DiagramPanel.Position changes.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnPositionChanged( _
   ByVal oldpos As Point, _
   ByVal newpos As Point _
) 
C# 
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 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.

Requirements

See Also

© 2012 All Rights Reserved.