Editar

Partilhar via


StackPanel.MakeVisible(Visual, Rect) Method

Definition

Scrolls to the specified coordinates and makes that part 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

The Rect that represents coordinate space within a visual.

Returns

A Rect in the coordinate space that is made visible.

Implements

Applies to