Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StackPanel.MakeVisible Method (Visual, Rect)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Scrolls to the specified coordinates and makes that part of a Visual visible.

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

Public Function MakeVisible (
	visual As Visual,
	rectangle As Rect
) As Rect


Type: System.Windows.Media.Visual

The Visual that becomes visible.

Type: System.Windows.Rect

The Rect that represents coordinate space within a visual.

Return Value

Type: System.Windows.Rect

A Rect in the coordinate space that is made visible.

.NET Framework
Available since 3.0
Return to top
© 2018 Microsoft