CarouselPanel.MakeVisible(UIElement, Rect) CarouselPanel.MakeVisible(UIElement, Rect) CarouselPanel.MakeVisible(UIElement, Rect) 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 : 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 that represents the input rectangle Rect transformed by using the CarouselPanel coordinate space.