Disable or grey out a node in the TreeNode Editor

前端 未结 4 888
遥遥无期
遥遥无期 2021-01-03 21:12

How do I disable a specific node so the user can not select it. Hiding it for the user is also valid.

I tried the Visible property but that hides the entire tree (al

4条回答
  •  鱼传尺愫
    2021-01-03 21:37

    Two options:

    1. Add and remove the nodes on the fly.
    2. Owner draw and handle the clicks and send it to another node.

提交回复
热议问题