ScrollContentPresenter.MakeVisible(UIElement, Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces content to scroll until the coordinate space of a visual object is visible.
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
- rectangle
- Rect
The bounding rectangle that identifies the coordinate space to make visible.
Returns
A Rect that represents the visible region after scrolling happens.