Customizing DataPager

I wanted to customize the datapager in silverlight to be able to change the pagesize after it is set and be able to change the UI of the DataPager a bit. 

datapagerAs there is no support for multibinding, I inherited DataPager added few properties  and was able to get it to work.  you should be able to change the number of rows displayed by changing the value in the TextBox next to “Show Rows:”. 

The code doesnt have validations. for checking if the entered value is valid.

you can see a sample here and can download the code from here

Advertisements

5 thoughts on “Customizing DataPager

  1. Pingback: NewsPeeps

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s