MakeVisible Method

VirtualizingStackPanel.MakeVisible Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Scrolls to the specified coordinates and makes that portion of a UIElement 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
The UIElement that becomes visible.
rectangle
Type: System.Windows.Rect
A Rect that represents the coordinate space within a UIElement.

Return Value

Type: System.Windows.Rect
Rectangular area of the UIElement now visible.

Implements

IScrollInfo.MakeVisible(UIElement, Rect)

A Rect that is visible.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft