The RichEditBox controll in WinUI3 has scrollbar, but I don't know how to handle the scrollbar's changing event, and how to set position of the scrollbar. In the visual tree I can see that RichEditBox contains a scrollviewer, can I get the scrollviewer and set its event handler?
Is RichEditBox in WinUI3 support ScrollView_Changeing event?
60 views Asked by Alex Xiang At
1
Add a ScrollViewer to wrap the RichEditBox, deal with the ScrollViewer's event, I can get the scroll offset of RichEditBox. That match my question.
But, there's a nother question, how can I do the same thing for webview2? It dosn't work for webview2.