Share via


ScrollContentPresenter.MakeVisible(UIElement, Rect) 方法

定义

强制内容滚动,直到可视对象的坐标空间可见。

public:
 virtual Rect MakeVisible(UIElement ^ visual, Rect rectangle) = MakeVisible;
Rect MakeVisible(UIElement const& visual, Rect const& rectangle);
public Rect MakeVisible(UIElement visual, Rect rectangle);
function makeVisible(visual, rectangle)
Public Function MakeVisible (visual As UIElement, rectangle As Rect) As Rect

参数

visual
UIElement

变为可见的 UIElement

rectangle
Rect

标识要使其可见的坐标空间的边框。

返回

一个 Rect ,表示滚动后可见区域。

适用于