Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Control Container Sizing Problem, Avoid Scrollbars in control container
posted

Hi,

I have docked (Fill) an UltraTree in a control container within an explorerbar group at runtime. Is there any possibility that the control container resizes itself according to the number nodes in UltraTree?

Actually I want to prevent scrolling in the control container. When the ultratree is populated at runtime, the control container should not have any scrollbar in it, instead it resizes itself in order to adjust its height with UltraTree .

Similarly, when any node in ultra tree is expanded or collapsed, the controlContainer resizes itself rather than a scrollbar is displayed in it.

Inshort, I want to keep the size of ultraTree and the controlcontainer equal without any scrolling. I tried to set the controlcontainer size by calculating the height of each ultra tree node, but the either UI element of nodes are always null there or the "IsInView" property of the node is false.

Any suggestions to resolve this issue??

-Nazish Kanwal