GoXam for WPF v3
OnSizeChanged Method
Northwoods.GoXam Namespace > DiagramPanel Class : OnSizeChanged Method
a Size in element coordinates
a Size in element coordinates
This overridable method is called when the panel's actual size changes.
Syntax
protected virtual void OnSizeChanged( 
   Size oldsize,
   Size newsize
)

Parameters

oldsize
a Size in element coordinates
newsize
a Size in element coordinates
Remarks
This may change the Position and/or Scale in order to maintain the desired content alignment, depending on the Stretch policy. The Scale will not be greater than 1. This method may be called during initialization even if the old and new size 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