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

XP TaskPane

Thread ID:

Created:

Updated:

Platform:

Replies:

93211 Mar 3,2010 12:43 PM Mar 4,2010 07:54 AM Windows Forms 1
loading
Tags: Tools
Jeff King
Asked On March 3, 2010 12:43 PM

Hi,

Can you tell me what event to use to intercept when the user clicks the close button on an XP Task Pane?

Thanks
Jeff

Dhivya K [Syncfusion]
Replied On March 4, 2010 07:54 AM

Hi Jeff,

Thank you for your interest in Essential Tools.

Internally the close button in the XPTaskPane is a BarItem. You can handle the Click event of this item as below :

this.xpTaskPane1.HeaderRightToolbar.Items[1].Click += new EventHandler(CloseButtonClicked);

private void CloseButtonClicked (object sender, EventArgs args)
{
MessageBox.Show("XPTaskPane Closed");
}

Here is a sample:

http://www.syncfusion.com/uploads/redirect.aspx?file=Tools_WF_xptaskpane_8a0365c9.zip&team=development

Please let me know if you have any question.

Regards,
Dhivya

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

;