IScrollInfo.MakeVisible Method

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

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

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

Syntax

Function MakeVisible ( _
    visual As UIElement, _
    rectangle As Rect _
) As Rect
Rect MakeVisible(
    UIElement visual,
    Rect rectangle
)

Parameters

  • rectangle
    Type: System.Windows..::.Rect
    A bounding rectangle that identifies the coordinate space to make visible.

Return Value

Type: System.Windows..::.Rect
A Rect that is visible.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

IScrollInfo Interface

System.Windows.Controls.Primitives Namespace