Set the caret to a character position, and adjust the scrolling if necessary
EditBox Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace