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.

How can I get the selected item in XPTaskBarBox or XPTaskBar??

Thread ID:

Created:

Updated:

Platform:

Replies:

96379 Sep 8,2010 05:02 PM Sep 9,2010 07:18 AM Windows Forms 1
loading
Tags: Tools
Luis Fernando Barone Muneratti
Asked On September 8, 2010 05:02 PM

I'm need to search in a XPTaskBarBox the nodes or itens. I need help

Thanks!!!


Lingaraj S [Syncfusion]
Replied On September 9, 2010 07:18 AM

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.


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.

;