How i can render text like this(simple listview)?
Trying the code like this renders no ellipsis:
TextRenderer.DrawText(_listGraphics,
anItem.Text, GetItemFont(anItem),
textRec,
Color.FromKnownColor(KnownColor.ControlText),
TextFormatFlags.Top| TextFormatFlags.EndEllipsis|
TextFormatFlags.WordBreak | TextFormatFlags.HorizontalCenter);
if I remove TextFormatFlags.WordBreak
then the text becomes single line.
Its to manual hot track the items while Drag-n-drop over them.