Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DataPager EventArgs

I'm using a DataPager control in my silverlight application. I have different pagers for different DataGrids and want to use the same event handler for the PageIndexChanged event for all of them. The delegate must take an EventArgs object as an argument. Can I use this object to "get back" to the control from which the event was fired?

like image 635
PhilBrown Avatar asked Nov 14 '22 09:11

PhilBrown


1 Answers

I swear I tried this before upgrading to f# 4 and silverlight 4 and it didn't work but now it does...

http://connect.microsoft.com/VisualStudio/feedback/details/524645/f-add-event-handler-to-form-anonymous-function-is-required

like image 52
PhilBrown Avatar answered Dec 19 '22 04:12

PhilBrown