ScrollContentPresenterBringDescendantIntoView Method
Attempts to bring a portion of the target visual into view by scrolling the content.
Namespace: Avalonia.Controls.PresentersAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool BringDescendantIntoView(
Visual target,
Rect targetRect
)
Public Function BringDescendantIntoView (
target As Visual,
targetRect As Rect
) As Boolean
member BringDescendantIntoView :
target : Visual *
targetRect : Rect -> bool
- target Visual
- The target visual.
- targetRect Rect
- The portion of the target visual to bring into view.
BooleanTrue if the scroll offset was changed; otherwise false.