Hi ,
1) The xpTaskBarTree_Resize eventhandler would be the correct place to change the preferred child width.
2) Using the latest version, I noticed that the resize event was fired 11 times during initialization but it was fired only once for all further resizing.
Here is the sample
We will try our best to address this issue before the next release. Thanks.
Best regards,
Stephen.
>I have a xpTaskBar called xpTaskBarTree with only one xpTaskBarBox named as xpTaskBarBoxTree.
>the xpTaskBarBoxTree has a panel named pnlClass inside (dock=fill).
>When the xpTaskBarTree resizes, I want the panel to always fill the whole area of the xpTaskBarTree. I have put following code in xpTaskBarTree_Resize event, but, it fires too many times (about 20 times). Did I put the code in wrong event? If so, Which event should I use?
>
>private void xpTaskBarTree_Resize(object sender, System.EventArgs e)
> {
> xpTaskBarBoxTree.PreferredChildPanelHeight=xpTaskBarTree.Height-pnlClass.Top;
> }