ScrollContentPresenter.MakeVisible Method

Forces content to scroll until the coordinate space of a visual object is visible.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public Rect MakeVisible(
	UIElement visual,
	Rect rectangle
)

Parameters

visual
Type: System.Windows.UIElement
A UIElement that becomes visible.
rectangle
Type: System.Windows.Rect
The bounding rectangle that identifies the coordinate space to make visible.

Return Value

Type: System.Windows.Rect
A Rect that represents the visible region.

Implements

IScrollInfo.MakeVisible(UIElement, Rect)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft