bussd
asked on
Infragistics Listbar: How to change item image on mouseover
Hello,
I'm using an Infragistics Listbar and I'm wondering what's the best way to change an item's image when the mouse moves over it. I tried this:
private void ListBar_MouseMove(object sender, MouseEventArgs e)
{
System.Windows.Forms.Contr ol c = this.ListBar.GetChildAtPoi nt(e.Locat ion);
//then I'll somehow cast c as a listbar item and change the image...
}
but c is always null. I'm surprised that this functionality isn't already built into the control, but I can't find any useful examples and the help isn't very helpful.
I'm new to C# but I've been developing in other languages for a while (most recently VB6).
Any help is appreciated. Thanks!
I'm using an Infragistics Listbar and I'm wondering what's the best way to change an item's image when the mouse moves over it. I tried this:
private void ListBar_MouseMove(object sender, MouseEventArgs e)
{
System.Windows.Forms.Contr
//then I'll somehow cast c as a listbar item and change the image...
}
but c is always null. I'm surprised that this functionality isn't already built into the control, but I can't find any useful examples and the help isn't very helpful.
I'm new to C# but I've been developing in other languages for a while (most recently VB6).
Any help is appreciated. Thanks!
ASKER
Hi Vo1d,
It is a third party control and you can download a trial at
http://www.infragistics.com/downloads/downloadinfo.aspx?productid=129&type=0
I haven't used the trial so I'm not sure how it's limited but hopefully it's functional enough to help.
It is a third party control and you can download a trial at
http://www.infragistics.com/downloads/downloadinfo.aspx?productid=129&type=0
I haven't used the trial so I'm not sure how it's limited but hopefully it's functional enough to help.
which .net framework do you use? 1.1 or 2.0?
i only have version 2.0, so i hope that they have the same functionality.
i will download it and make a test.
i only have version 2.0, so i hope that they have the same functionality.
i will download it and make a test.
ASKER
I'm also using 2.0
Thanks!
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wow. Impressively quick and useful solution. Thank you!
I'm sure I'll have more questions as this project progresses. :)
I'm sure I'll have more questions as this project progresses. :)
if so, is there a sample control which i can download and check out?