Listview可见行数 [英] Listview Visible Row Count
问题描述
有谁知道如何确定有多少可见行?
a vb.net Listview?没有列表视图可见行数物业
就像数据网格一样。
请提前获取任何反馈。
***通过Developersdex发送< a rel =nofollowhref =http://www.developersdex.comtarget =_ blank> http://www.developersdex.com ***
Don 只是参加USENET ......获得奖励!
Does anyone know how I can determine how many visible rows there are in
a vb.net Listview? There is no listview "visible row count" property
like there is for a datagrid.
Tks in advance for any feedback.
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
推荐答案
尝试listview.items.count
tony
"亨利" <一个******* @ devdex.com>在消息中写道
新闻:uI **************** @ TK2MSFTNGP11.phx.gbl ...
try listview.items.count
tony
"Henry" <an*******@devdex.com> wrote in message
news:uI****************@TK2MSFTNGP11.phx.gbl...
有谁知道如何确定vb.net Listview中有多少可见行?没有列表视图可见行数物业
就像数据网格一样。
请提前获取任何反馈。
***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励对于它!
Does anyone know how I can determine how many visible rows there are in
a vb.net Listview? There is no listview "visible row count" property
like there is for a datagrid.
Tks in advance for any feedback.
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
*" t perkins" < TP ****** @ rogersandhollands.com> scripsit:
* "t perkins" <tp******@rogersandhollands.com> scripsit:
try listview.items.count
try listview.items.count
这将返回项目总数。
-
Herfried K. Wagner [MVP]
< http://www.mvps.org/dotnet>
This will return the total number of items.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
我知道listviewitem count有意获得总额
的物品数量。
但是,我需要弄清楚的是列表视图中的行怎么样
$ b当用户按下页面
down时,$ b显示区域被提前或反之亦然。或者向上翻页或键。我将取数字,然后
增加/减少我为
用户显示的记录位置/计数器。
任何其他想法?
***通过开发人员发送索引 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
I was aware of the listview "item count" propery to obtain the total
number of items.
However, what I need to figure out is how may rows in the listview
display area are advanced or vice versa when the user presses the "page
down" or the "page up " keys. I will take the number and then
increment/decrement my record position/counter that I display for the
user.
Any other ideas?
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
这篇关于Listview可见行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!