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
585
Remove Display of Column Header
posted
I would like the tree to not display the column header at all. How do I do this? It is bound to a BindingSource object. Thanks!
Parents
No Data
Reply
  • 469350
    Offline posted

    You need to set the LabelPosition on the ColumnSet to None. How you do this depends on whether or not the tree is bound at run-time or design-time and when the column set gets created. 

    If you are binding the tree at run-time, then you could do something like this: 


            private void ultraTree1_ColumnSetGenerated(object sender, Infragistics.Win.UltraWinTree.ColumnSetGeneratedEventArgs e)
            {
                e.ColumnSet.LabelPosition = Infragistics.Win.UltraWinTree.NodeLayoutLabelPosition.None;
            }

Children
No Data