可以在一个TreeView节点包含多行文本?是否有可能迫使它这样做,如果没有直接的方法是可能的(这很可能)?
Can a node in a treeview contain multiple lines of text? Is it possible to coerce it to do so if no direct way is possible (which seems likely)?
编程F#.NET 4.0中,的WinForms。
Programming in F#, .Net 4.0, winforms.
我从来没有需要有一个节点上的文字多行,但这里是另一个建议。
I have never needed to have text on multiple lines on a node, but here is another suggestion.
考虑使用CHAR固定数量(即100),然后将整段文字作为标题?
Consider using a fixed number of char (ie. 100) and then the whole text as a title?
因此,
-->
|
--> This is my very long..
然后将鼠标悬停在节点时
Then when hovering over the node
This is my very long text message.
That you can only see when hovering over the node. :)