ILogicalScrollableBringIntoView Method

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

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
bool BringIntoView(
	Control target,
	Rect targetRect
)

Parameters

target  Control
The target visual.
targetRect  Rect
The portion of the target visual to bring into view.

Return Value

Boolean
True if the scroll offset was changed; otherwise false.

See Also