سؤال

"TreeNode.IsVisible" is available but I can't tell from it whether it's visible or partially visible - "true if the tree node is visible or partially visible".

e.g. How can I tell if the following "Temporary ASP.NET" tree node is partially visible?

Also, how the text hovers directly over the node is called? Is it a tooltip in the end? Can it be controled on visibility?

Thanks,

هل كانت مفيدة؟

المحلول

Use the TreeNode.Bounds.Right property and compare against TreeView.ClientRectangle.Right

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top