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
821
Like: WPF XamDataTree property/behavior equivalent to IG.Win.UltraTree.ScrollBounds = ScrollToFill
posted

Is there an option/property or "workaround" to get the behavior of the old  Infragistics.Win.UltraTree.ScrollBounds = ScrollToFill ?

Currently with WPF 2015.2 XamDataTree in a panel, nodes did not fill up to the lower border end results in a horizontal scrollbar shown immediately below the last visible node. But it should be at the lower border of the control! See image, the area with the red cross should be filled by the tree (with empty/transparent nodes??) and not show the outer control background:

IG XamDataTree scrollbar misbehavior

http://prntscr.com/ad4cy7 

How do I get the scrollbar to the bottom?

Parents
  • 29105
    Offline posted

    Hello,

    Controls inside a panel will use their assigned width and height. This explains the nature of having extra space at the bottom of your data tree. You have two choices to address this, manually increase the height of the XamDataTree or replace the panel with a grid container and remove the Horizontal and VerticalAlignment properties to allow docking or set them to Stretch.

    Let me know if you have any questions regarding this matter.

Reply Children