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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

96379 Sep 8,2010 09:02 PM UTC Sep 9,2010 11:18 AM UTC WinForms 1
loading
Tags: Tools
Luis Fernando Barone Muneratti
Asked On September 8, 2010 09:02 PM UTC

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

Thanks!!!


Lingaraj S [Syncfusion]
Replied On 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.


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

;