GoXam for WPF v3
MakeVisible Method
Northwoods.GoXam Namespace > DiagramPanel Class : MakeVisible Method
The region of the element to bring into view. This value is normally Rect.Empty, meaning as much of the whole visual element as will fit into the viewport.
Scroll the diagram so that a given element (visual) is in the viewport. (Implements IScrollInfo.)
Syntax
public Rect MakeVisible( 
   Visual visual,
   Rect rectangle
)

Parameters

visual
rectangle
The region of the element to bring into view. This value is normally Rect.Empty, meaning as much of the whole visual element as will fit into the viewport.

Return Value

the result of calling DoMakeVisible
Remarks
If the Part is already visible in the viewport, the panel is not scrolled. If you always want to scroll the panel so that a part is centered, even when the part is already visible but not centered in the viewport, call CenterPart(Part,Action).
See Also

Reference

DiagramPanel Class
DiagramPanel Members