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
595
PerformAutoResize() exception
posted

I have a FreeForm tree for which I manually generate the Column sets and everything. Within tree_AfterExpand() handler I execute the following (to size all of the columns of the expanded node):

 if (e.TreeNode.HasNodes)
  {

           foreach (UltraTreeNodeCell cell in e.TreeNode.Nodes[0].Cells)
            {

                cell.Column.PerformAutoResize(

                Infragistics.Win.UltraWinTree.ColumnAutoSizeMode.VisibleNodes);

            }                   
     }

which results in the following exception. Any ideas? Thanks.