DisplayCanvasMakeVisible Method

CVB.Net Documentation
Forces content to scroll until the coordinate space of a Visual object is visible.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public Rect MakeVisible(
	Visual visual,
	Rect rectangle
)

Parameters

visual
Type: System.Windows.MediaVisual
A Visual to become visible.
rectangle
Type: System.WindowsRect
A bounding rectangle that identifies the coordinate space to make visible.

Return Value

Type: Rect
A Rect that is visible.

Implements

IScrollInfoMakeVisible(Visual, Rect)
Remarks

In most cases, the returned rectangle is a transformed version of the input rectangle. In some cases, such as when the input rectangle cannot fit entirely within the view port, the return value may be smaller.
See Also

Reference