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.zipThank you for your patience.
Best Regards,
Anu.