您的位置: 首页 > 技术问答 > 我怎样才能得到一个ListView项的高度? 我怎样才能得到一个ListView项的高度? 分类: 技术问答 • 2022-03-11 18:50:32 问题描述: 我有ListView和我需要确定项目的高度。 I have ListView and I need to determine item height. 答 您可以使用 GetItemRect() 方式: int itemHeight = yourListView.GetItemRect(itemIndex).Height;