Nevron Forum

Wrap Text In NTreeList Column

https://www.nevron.com/Forum/Topic4946.aspx

By Vince McMullin 1 - Friday, February 25, 2011

Is there anyway to wrap text in an NTreeList Column? This would be extremely useful if it was possible.
By Vince McMullin 1 - Friday, February 25, 2011

I've noted that there is a nowrap member in TextFormat for NTreeListNodeStringSubItem. So I am thinking there might be an existing solution to force nodes into multiline mode.

wDataNode = New NTreeListNodeStringSubItem()
wDataNode.TextFormat.FormatFlags.NoWrap()

Any help?
By Nevron Support - Monday, February 28, 2011

Hi Vince,

You need to set the FormatFlags to NoClip:

NGdiPlusTextFormat textFormat = new NGdiPlusTextFormat();
textFormat.FormatFlags = StringFormatFlags.NoClip;
item.TextFormat = textFormat;