code_junkie

How can I change the 259 char limit inside WinForms Treeview LabelEdit?

Nov 11th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Dim mynode As New TreeNode
  2. Dim SomeBigCustomObject as New MyContentStorageObject(name,content)
  3. mynode.Text = SomeBigCustomObject.Name
  4. mynode.Tag = SomeBigCustomObject
  5. TreeView1.Nodes.Add(mynode)
  6.  
  7. dim ContentStorageObject As MyContentStorageObject = CType(e.Node.Tag, MyContentStorageObject)
  8. dim content as string = ContentStorageObject.Content
Add Comment
Please, Sign In to add comment