ScrollContentPresenter.

BringDescendantIntoView(IVisual, Rect) Method

Summary

Attempts to bring a portion of the target visual into view by scrolling the content.

Syntax

public bool BringDescendantIntoView(IVisual target, Rect targetRect)

Parameters

Name Type Description
target IVisual The target visual.
targetRect Rect The portion of the target visual to bring into view.

Return Value

Type Description
bool True if the scroll offset was changed; otherwise false.