Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
“TreeNode.IsVisible”可用,但我无法从中判断它是可见的还是部分可见的 - “如果树节点可见或部分可见,则为真”。
例如,我如何判断下面的“Temporary ASP.NET”树节点是否部分可见?
另外,文本如何直接悬停在节点上被调用?它到底是一个工具提示吗?可以控制可见性吗?
谢谢,
使用 TreeNode.Bounds.Right 属性并与 TreeView.ClientRectangle.Right 进行比较