ZoomPanelRefresh Method |
Namespace: Ab2d.Controls
public void Refresh()
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.