BringDescendantIntoView Method
Attempts to bring a portion of the target visual into view by scrolling the content.
Definition
Namespace: Avalonia.Controls.Presenters
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
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
Parameters
Return Value
Boolean
True if the scroll offset was changed; otherwise false.
See Also
Reference
ScrollContentPresenter Class
Avalonia.Controls.Presenters Namespace