Hi Rajendra,
Thank you for your interest in Syncfusion Products.
1) Programmatically resizing the Column size when expanding the nodes:
This can be achieved by adjusting the Column width in BeforeExpand event. Kindly refer to the code snippet and the sample provided below:
private void multiColumnTreeView1_BeforeExpand(object sender, Syncfusion.Windows.Forms.Tools.MultiColumnTreeView.TreeViewAdvCancelableNodeEventArgs e)
{
int ColWidth = this.multiColumnTreeView1.Columns[0].Width;
int Node_Width = e.Node.Nodes[0].TextBounds.X + e.Node.Nodes[0].TextBounds.Width;
if (Node_Width >= ColWidth)
{
this.multiColumnTreeView1.Columns[0].Width = 25+ e.Node.Nodes[0].TextBounds.X + e.Node.Nodes[0].TextBounds.Width;
}
}
2) Setting size of the column programmatically:
This can be achieved using MultiColumnTreeView's Columns[index].Width property as described below:
this.multiColumnTreeView1.Columns[0].Width = 100;
Sample :
http://files.syncfusion.com/support/Tools.Windows/7.2.0.20/F81996/main.htmPlease let me know if any concerns.
Regards,
Fathima