Profile Picture

Wrap Text In NTreeList Column

Posted By Vince McMullin 13 Years Ago
Author
Message
Vince McMullin
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 18, Visits: 2
Is there anyway to wrap text in an NTreeList Column? This would be extremely useful if it was possible.

Vince McMullin
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 18, Visits: 2
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?

Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Vince,

You need to set the FormatFlags to NoClip:

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

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic