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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPTaskBar - dynamic sizing of PreferredChildPanelHeight

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

We are using v 4.2.0.37.

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

Test65.zip

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.

Regards,
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.

Test.zip

Thank you for your patience.

Best Regards,

Anu.

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

Thank You Anu,

Its working fine..

Rgds
Rajani Kanth


CONFIRMATION

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.

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

;