Scroll Selected Text Into View in WPF(statestreetgang.net)
submitted by
yesthatmcgurk(4063) 4 years ago
The support for controlling scroll position in the WPF TextBox isn't that hot. Its easy to scroll a selection into view vertically, but you have to do some extra work to scroll horizontally, too. This technique works as long as you know the text you want to scroll into view, be it by selection or by index and length.
|category: Windows Presentation Foundation
|Views: 74
tags:
WPF another
Everyones tags:
Your Tags: