LS
Lingaraj S
Syncfusion Team
September 9, 2010 11:18 AM UTC
Hi,
Thank you for your interest in Syncfusion products.
Please try using following to get a selected XPTaskBarItem.
private void Form1_Load(object sender, EventArgs e)
{
this.xpTaskBarBox3.MouseDown += new MouseEventHandler(xpTaskBarBox1_MouseDown);
}
XPTaskBarItem item;
void xpTaskBarBox1_MouseDown(object sender, MouseEventArgs e)
{
Point pt = e.Location;
Syncfusion.Windows.Forms.Tools.XPTaskBarItem taskItem = xpTaskBarBox3.HitTest(pt);
if (taskItem != null)
{
item = taskItem;
}
}
Please let me know if you have any queries.
Regards,
Lingaraj S.