Click or drag to resize

ZoomPanelRefresh Method

Forces the ZoomPanel to immediately recalculate the visible area based on the current Viewbox settings.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void Refresh()
Remarks

The visible area is calculated in ArrangeOverride method in ViewboxEx that is internally used by ZoomPanel.

ArrangeOverride is called automatically by the WPF on the next rendering pass. This means that it is not called immediately after the Viewbox on ZoomPanel is changed. To force that the area visible in ZoomPanel is immediately recalculated, call Refresh method.

See Also