Northwoods.GoSilverlight 1.2.2 Assembly
OnScaleChanged(Double,Double) Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : OnScaleChanged(Double,Double) Method

oldscale
a double
newscale
a double
This overridable method is called when the DiagramPanel.Scale changes.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnScaleChanged( _
   ByVal oldscale As Double, _
   ByVal newscale As Double _
) 
C# 
protected virtual void OnScaleChanged( 
   double oldscale,
   double newscale
)

Parameters

oldscale
a double
newscale
a double

Remarks

This may change the Northwoods.GoXam.DiagramPanel.Position in order to maintain the desired content alignment. This method may be called during initialization even if the old and new scale values are the same. This respects the UseLayoutRounding property to round off the Northwoods.GoXam.DiagramPanel.Position. This method calls OnViewportBoundsChanged.

Requirements

See Also

© 2010 All Rights Reserved.