开发者

how to hide the numeric pager in list view

开发者 https://www.devze.com 2023-01-21 15:48 出处:网络
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开

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

精彩评论

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