We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPTaskBar - dynamic sizing of PreferredChildPanelHeight

Thread ID:





53728 Dec 19,2006 03:28 PM UTC Jan 2,2007 10:07 AM UTC WinForms 3
Tags: Tools
Badri Rajani Kanth
Asked On December 19, 2006 03:28 PM UTC


We are using v

In the attached sample (in run mode), when I drag the splitter, i can resize XPTaskBar control and XPTaskBarBox also. But when I drag splliter up thus increasing the height of XPTaskBar, the panel panelInsidexpTaskBarBox width is not increasing. Same is the case when I decrease the height of XPTaskBar.

I need XPTaskBarBox always to fill the XPTaskBar and panelInsidexpTaskBarBox always fill the XPTaskBarBox.

Any inputs plz

Thanks & Rgds
Rajani Kanth


Murugan [Syncfusion]
Replied On December 19, 2006 11:52 PM UTC

Hi Rajani,

We are currently working on the issue. We will send you the details on tomorrow.

Thanks for choosing Syncfusion products.

Murugan P.S

Anupama Roy [Syncfusion]
Replied On December 20, 2006 09:04 AM UTC

Hi Rajani,

Our sincere apologies for the delay in response.

The Child panel's width will be automatically set based on the available width for the XPTaskBarBox.However,the height of the Panel has to be changed through PreferredChildPanelHeight property manually.You can handle the XpTaskBar's SizeChanged event and set the PreferredChildPanelHeight to be the height of XpTaskBar in order to change the preferred height while resizing using Splitter.

private void Form3_Load(object sender, EventArgs e)

this.xpTaskBarBox.PreferredChildPanelHeight = this.xpTaskBar.Bounds.Height;

private void xpTaskBar_SizeChanged(object sender, EventArgs e)
this.xpTaskBarBox.PreferredChildPanelHeight = this.xpTaskBar.Bounds.Height;


Kindly have a look at the sample attached and let us know if you need further assistance.


Thank you for your patience.

Best Regards,


Badri Rajani Kanth
Replied On January 2, 2007 10:07 AM UTC

Thank You Anu,

Its working fine..

Rajani Kanth


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon