Click here to Skip to main content
15,887,946 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
i have a list-box with data template as text-block  and i am binding observable collection of some strings .on mouse enter of list-box items if the listboxitem is greater than list-box width  i want to show ending of list-box item as "..." . for example : thisisastring... (normal behavior) . but when i mouseenter on any item it has to check the condition and  if listboxitem is greater than list-box width then  it should scroll on mouse enter and mouse leave events [ the list-box item should scroll from left to right and right to left with a duration of 0:0:5).
Posted

1 solution

why don't you use a lazylist? hope it helps lazylist loading...
 
Share this answer
 
Comments
stibee 7-Aug-13 10:40am    
Why do you not show the whole text forexample inside tooltip in the case you hover over the item?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900