Edit folder name in TreeView WindowsForms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John.Arthur@gmail.com

    Edit folder name in TreeView WindowsForms

    Hi,

    I need to implement functionality in Windows forms and I do not know to
    do it or even if it is possible.
    In windows explorer when you create new folder, the explorer creates
    the folder with name "New Folder" and allows you to edit the name.
    That is exactly what I need to do, but I need it in Tree View control
    in Windows forms. How is that action named or how can I implement it.

    ( It is like when you are in windows explorer over a folder and you hit
    F2. )

    Thanks a lot.
    John

  • PIEBALD

    #2
    RE: Edit folder name in TreeView WindowsForms

    Set the LabelEdit property of the TreeView to true

    Comment

    Working...