The TextRenderer.DrawText method has a TextFormatFlags parameter. Using TextFormatFlags.EndEllipsis
allows you to abbreviate the text with an ellipsis at the end so that it fits in the available space. However, I want to put the ellipsis at the start. Curiously enough there is no TextFormatFlags
value to do this.
I've considered progressively shortening the string myself until it fits according to TextRenderer.MeasureText, but I'm worried about performance. Surely there is a better way?