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 實作有顯著差異時,才會需要這些函式和物件。

屬性

適用於

另請參閱