ScrollToAnchor(String) Method

Definition

Assembly MarkView.Avalonia.dll

Scrolls to the anchor (e.g. a heading's slug) named anchorId, if the document has one. While the viewer itself has the focus, Tab then goes on from that anchor, as in a browser. The scroll is animated while IsSmoothScrollingEnabled is true.

public void ScrollToAnchor(string anchorId)

Parameters

anchorId
String