StackPanel.MakeVisible Method (Visual, Rect)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 Rect MakeVisible(
	Visual visual,
	Rect rectangle
)

Parameters

visual
Type: System.Windows.Media.Visual

The Visual that becomes visible.

rectangle
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
Show: