Sdílet prostřednictvím


CarouselPanel.MakeVisible(UIElement, Rect) Method

Definition

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

public:
 virtual Rect MakeVisible(UIElement ^ visual, Rect rectangle) = MakeVisible;
Rect MakeVisible(UIElement const& visual, Rect const& 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

A rectangle that represents the input rectangle Rect transformed by using the CarouselPanel coordinate space.

Applies to