OrientedVirtualizingPanel.MakeVisible(UIElement, Rect) OrientedVirtualizingPanel.MakeVisible(UIElement, Rect) OrientedVirtualizingPanel.MakeVisible(UIElement, Rect) 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 : Rect MakeVisible(UIElement visual, Rect rectangle)
Rect MakeVisible(UIElement visual, Rect rectangle) const;
public Rect MakeVisible(UIElement visual, Rect rectangle)
Public Function MakeVisible(visual As UIElement, rectangle As Rect) As Rect

Parameters

visual
UIElement UIElement

The element to make visible.

rectangle
Rect Rect

A rectangle representing the element's coordinate space.

Returns

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