XPTaskPane
I am using a XPTaskPane I have two questions:
1.- I can hide the buttons to close, and the left and right arrows.
2. - I can click in any part of the header and the panel collapse.
1.- I can hide the buttons to close, and the left and right arrows.
2. - I can click in any part of the header and the panel collapse.
SIGN IN To post a reply.
11 Replies
BA
Berkunath A
Syncfusion Team
October 3, 2012 12:24 PM UTC
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;
this.xpTaskPane1.HeaderLeftToolbar.Items[1].Visible = false;
this.xpTaskPane1.HeaderRightToolbar.Items[1].Visible = false;
2.
private bool isCollapse = false;
int backUpHeight = 0;
private bool isCollapse = false;
int backUpHeight = 0;
private void xpTaskPane1_HeaderLabel_Click_1(object sender, EventArgs e)
{
if (!isCollapse)
{
if (!isCollapse)
this.xpTaskPane1.Height = 25;
else
this.xpTaskPane1.Height = backUpHeight;
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
FE
Felipe
October 3, 2012 06:12 PM UTC
thank you very much I was helpful.
Another thing is if you can not.
I can draw a picture in the header.
for example, when displaying an image will collapse and shrink when display another
I can draw a picture in the header.
for example, when displaying an image will collapse and shrink when display another
FE
Felipe
October 8, 2012 02:38 PM UTC
Once hidden menu buttons
next, previous and close
I can remove the spaces so that the label is aligned to the left and my show and hide button is aligned to the nght.
next, previous and close
I can remove the spaces so that the label is aligned to the left and my show and hide button is aligned to the nght.
BA
Berkunath A
Syncfusion Team
October 9, 2012 07:44 AM UTC
Hi Felipe ,
Thank you for your interest in Syncfusion products.
You can achieve the requirement using attached sample. Please run the sample and let us know if it helps you.
[sample link]
Please let us know if you need any other details.
Regards,
Berkunath A
FE
Felipe
October 9, 2012 01:53 PM UTC
you can try this example by placing the properties dock = Top, the xptaskpane1.
Hidden text
Hidden text
FE
Felipe
October 10, 2012 01:57 PM UTC
you can try this example by placing the properties dock = Top, the xptaskpane1.
Hidden text
Hidden text
thanks
BA
Berkunath A
Syncfusion Team
October 11, 2012 01:54 PM UTC
Hi Felipe ,
Thanks for the update .
We are unable to process your query fom the given infirmation , Could you please update the more details regarding your query . So that we could sort out your requirement and provide you a better solution
Please let us know if you have any concerns
Please let us know if you have any concerns
Regards,
Berkunath A
FE
Felipe
October 11, 2012 05:23 PM UTC
ok exercise this right, but if you make the biggest xptaskpanel
the text is no longer fully aligned to the left.
reappears space of pictures previous and next.
the text is no longer fully aligned to the left.
reappears space of pictures previous and next.
FE
Felipe
October 15, 2012 01:08 PM UTC
shipping example xpTaskPane2 where the text displays correctly aligned to the left hiding the previous and next buttons.
and xpTaskPane1, a little bigger does not align fully left and does not hide the previous and next buttons.
The Xptaskpane must be capable of aligning left completamnete the size whatsoever.
and xpTaskPane1, a little bigger does not align fully left and does not hide the previous and next buttons.
The Xptaskpane must be capable of aligning left completamnete the size whatsoever.
taskpanel_c64d528b.rar
FE
Felipe
October 15, 2012 01:09 PM UTC
shipping example xpTaskPane2 where the text displays correctly aligned to the left hiding the previous and next buttons.
and xpTaskPane1, a little bigger does not align fully left and does not hide the previous and next buttons.
The Xptaskpane must be capable of aligning left completamnete the size whatsoever.
and xpTaskPane1, a little bigger does not align fully left and does not hide the previous and next buttons.
The Xptaskpane must be capable of aligning left completamnete the size whatsoever.
taskpanel_e7327731.rar
BA
Berkunath A
Syncfusion Team
October 17, 2012 06:17 AM UTC
Hi Felipe ,
Thanks for the update .
You can achieve your requirement by using the below code snippet,
[c#]
this.xpTaskPane1.HeaderLeftToolbar.Visible = false;
this.xpTaskPane1.HeaderLabel.Location = new Point(0, 0);
this.xpTaskPane1.HeaderLabel.Location = new Point(0, 0);
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
taskpanel_b7221caa.zip
SIGN IN To post a reply.
- 11 Replies
- 2 Participants
-
FE Felipe
- Oct 1, 2012 04:43 PM UTC
- Oct 17, 2012 06:17 AM UTC