Share via


FileListBox.ItemHeight 属性

定义

获取 ListBox 中某项的高度。

public:
 property int ItemHeight { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public int ItemHeight { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ItemHeight : int with get, set
Public Property ItemHeight As Integer

属性值

FileListBox 控件不需要此属性;FileListBox 不支持具有可变高度的项。 之所以提供它,只是因为 FileListBox 控件继承自 ListBox

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。

属性

适用于

另请参阅