OrientedVirtualizingPanel.MakeVisible(UIElement, Rect) Method

Definition

Changes existing offsets in order to make the provided element visible in the viewport, and returns a Rect measurement of the area.

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

Parameters

visual
UIElement

The element to make visible.

rectangle
Rect

A rectangle representing the element's coordinate space.

Returns

Rect

A rectangle representing the input rectangleRect transformed using the OrientedVirtualizingPanel coordinate space after scrolling happens.

Applies to