ScrollContentPresenter.MakeVisible Method (Visual, Rect)
.NET Framework (current version)
Forces content to scroll until the coordinate space of a Visual object is visible.
Assembly: PresentationFramework (in PresentationFramework.dll)
abstract MakeVisible : visual:Visual * rectangle:Rect -> Rect override MakeVisible : visual:Visual * rectangle:Rect -> Rect
Parameters
- visual
-
Type:
System.Windows.Media.Visual
The Visual that becomes visible.
- rectangle
-
Type:
System.Windows.Rect
The bounding rectangle that identifies the coordinate space to make visible.
Implements
IScrollInfo.MakeVisible(Visual, Rect)In most cases, the returned Rect is a transformed version of the input rectangle. In some cases, such as when the input rectangle cannot fit entirely within the viewport, the return value may be smaller.
.NET Framework
Available since 3.0
Available since 3.0
Show: