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.

XPTaskPane

Thread ID:

Created:

Updated:

Platform:

Replies:

105326 Oct 1,2012 12:43 PM Oct 17,2012 02:17 AM Windows Forms 11
loading
Tags: Tools
Felipe
Asked On October 1, 2012 12:43 PM

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.

Berkunath A [Syncfusion]
Replied On October 3, 2012 08:24 AM

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

Felipe
Replied On October 3, 2012 02:12 PM

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

Felipe
Replied On October 8, 2012 10:38 AM

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.

Berkunath A [Syncfusion]
Replied On October 9, 2012 03:44 AM

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

Felipe
Replied On October 9, 2012 09:53 AM

you can try this example by placing the properties dock = Top, the xptaskpane1.
Hidden text

Felipe
Replied On October 10, 2012 09:57 AM

you can try this example by placing the properties dock = Top, the xptaskpane1.
Hidden text
thanks

Berkunath A [Syncfusion]
Replied On October 11, 2012 09:54 AM

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
 
Regards,
Berkunath A

Felipe
Replied On October 11, 2012 01:23 PM

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.

Felipe
Replied On October 15, 2012 09:08 AM

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.


taskpanel_c64d528b.rar

Felipe
Replied On October 15, 2012 09:09 AM

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.


taskpanel_e7327731.rar

Berkunath A [Syncfusion]
Replied On October 17, 2012 02:17 AM

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);
 
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

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.

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.

;