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=developmentPlease let me know if you have any question.
Regards,
Dhivya