/// <include file='doc\WinBarComboBox.uex' path='docs/doc[@for="ToolStripComboBox.GetItemHeight"]/*' /> public int GetItemHeight(int index) { return(ComboBox.GetItemHeight(index)); }
public void GetItemHeightTest () { ComboBox cmbbox = new ComboBox (); cmbbox.Items.Add ("ABC"); cmbbox.Items.Add ("BCD"); cmbbox.Items.Add ("DEF"); int x = -1; x = cmbbox.GetItemHeight (x); Assert.IsTrue (cmbbox.ItemHeight > 0, "#21"); }