Hi Felipe ,
Thanks for your interests in syncfusion products.
You can achieve your requirement by using the below code snippet,
[c#]
1.
this.xpTaskPane1.HeaderLeftToolbar.Items[0].Visible = false;
this.xpTaskPane1.HeaderLeftToolbar.Items[1].Visible = false;
this.xpTaskPane1.HeaderRightToolbar.Items[1].Visible = false;
2.
private bool isCollapse = false;
int backUpHeight = 0;
private void xpTaskPane1_HeaderLabel_Click_1(object sender, EventArgs e)
{
if (!isCollapse)
this.xpTaskPane1.Height = 25;
else
this.xpTaskPane1.Height = backUpHeight;
isCollapse = !isCollapse;
}
I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you.
[sample link]
Please let us know if you have any concerns.
Regards,
Berkunath A
XPTaskPane_a5d76f11.zip