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,表示卷動發生之後的可見區域。

適用於