Bewerken

Delen via


VirtualizingStackPanel.MakeVisible(Visual, Rect) Method

Definition

Scrolls to the specified coordinates and makes that portion of a Visual visible.

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

Parameters

visual
Visual

The Visual that becomes visible.

rectangle
Rect

A Rect that represents the coordinate space within a Visual.

Returns

A Rect that is visible.

Implements

Applies to