VirtualizingStackPanel.MakeVisible(Visual, Rect) 方法

定义

滚动到指定坐标并使该 Visual 部分可见。

public:
 virtual System::Windows::Rect MakeVisible(System::Windows::Media::Visual ^ visual, System::Windows::Rect rectangle);
public System.Windows.Rect MakeVisible (System.Windows.Media.Visual visual, System.Windows.Rect rectangle);
abstract member MakeVisible : System.Windows.Media.Visual * System.Windows.Rect -> System.Windows.Rect
override this.MakeVisible : System.Windows.Media.Visual * System.Windows.Rect -> System.Windows.Rect
Public Function MakeVisible (visual As Visual, rectangle As Rect) As Rect

参数

visual
Visual

变为可见的 Visual

rectangle
Rect

Rect,表示 Visual 内的坐标空间。

返回

Rect

可见的 Rect

实现

适用于