Share via


IVisualDiagnosticsOverlay.ScrollToView(IVisualTreeElement) Method

Definition

Automatically scroll to a given element within the view, if available.

public:
 void ScrollToView(Microsoft::Maui::IVisualTreeElement ^ element);
public void ScrollToView (Microsoft.Maui.IVisualTreeElement element);
abstract member ScrollToView : Microsoft.Maui.IVisualTreeElement -> unit
Public Sub ScrollToView (element As IVisualTreeElement)

Parameters

element
IVisualTreeElement

Element to scroll to.

Applies to