ToolStripComboBox.GetItemHeight(Int32) 方法

定義

傳回 ToolStripComboBox 中的項目高度 (以像素為單位)。

public:
 int GetItemHeight(int index);
public int GetItemHeight (int index);
member this.GetItemHeight : int -> int
Public Function GetItemHeight (index As Integer) As Integer

參數

index
Int32

要傳回其高度的項目索引。

傳回

Int32

指定索引處的項目高度 (單位為像素)。

適用於