开发者

how to hide the numeric pager in list view

I am using a list view with page size 10 and added a numeric data pager for paging.everything is working fine but how i can hide the page number shown below when the data in list view is less than 10开发者_如何学JAVA and show it only data is greater than 10. pls help me out....


You would attach to PagePropertiesChanged event of the ListView and retrieve the number of items displayed in the current page. If the number is less than 10, set Visible to false of the DataPager.

Sorry for my english.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜