Event delegate method that is used in the IPreferredSizeChangeReporter interface. DefaultGraph by default has an implementation of this interface in it's Lookup(Type).

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public delegate void PreferredSizeChanged( ILabel label, SizeD oldPreferredSize )
Visual Basic
Public Delegate Sub PreferredSizeChanged ( _ label As ILabel, _ oldPreferredSize As SizeD _ )

Parameters

label
Type: yWorks.yFiles.UI.Model..::..ILabel
The label whose preferred size changed.
oldPreferredSize
Type: yWorks.Canvas.Geometry.Structs..::..SizeD
The old preferred size of the label.

See Also