Click here to Skip to main content
15,908,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my Silverlight widget, I have 8 Scroll Viewers horizontal enabled. here I need to reflect the Movement change of one Scroll Viewer to all other the over all intension is to align all the scroll bars in same position all time.

looking forward for help,

Thanks and Regards,

karteek kumar
Posted
Updated 6-Aug-10 2:15am
v2

1 solution

You could try using ElementName binding as shown here[^].
 
Share this answer
 
v2
Comments
jkkumar2105 6-Aug-10 8:26am    
Hi Abhinav, Nice Article
Thanks for Responce....
But here we did't have any property called value changed event for a Scroll Viewer
scroll1.LayoutUpdated += new EventHandler(scroll1_LayoutUpdated);
void scroll1_LayoutUpdated(object sender, EventArgs e)
{
scroll2.ScrollToVerticalOffset((double)scroll1.VerticalOffset);
}
this works for one way. but when I do the same for other also then it'll be infinite this does't work ..
hope u got my issue


/karteek

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