25 references to GetItemText
System.Windows.Forms (25)
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
742
text =
GetItemText
(item);
1581
return new CheckedListBoxItemAccessibleObject(this.CheckedListBox.
GetItemText
(CheckedListBox.Items[index]), index, this);
winforms\Managed\System\WinForms\ComboBox.cs (9)
1013
strings[i] =
GetItemText
(itemsCollection[i]);
1275
string candidate =
GetItemText
(SelectedItem);
1304
(selectedItem == null || (String.Compare(value,
GetItemText
(selectedItem), false, CultureInfo.CurrentCulture) != 0))) {
2331
int insertIndex = unchecked( (int) (long)SendMessage(NativeMethods.CB_ADDSTRING, 0,
GetItemText
(item)));
2369
int insertIndex = unchecked( (int) (long)SendMessage(NativeMethods.CB_INSERTSTRING, index,
GetItemText
(item)));
3435
s =
GetItemText
(item);
4017
String itemName1 = comboBox.
GetItemText
(item1);
4018
String itemName2 = comboBox.
GetItemText
(item2);
4407
if (String.Compare(this.owner.
GetItemText
(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
830
Size preferredSize = TextRenderer.MeasureText(comboBox.
GetItemText
(item), comboBox.Font);
winforms\Managed\System\WinForms\ListBox.cs (11)
1089
return
GetItemText
(SelectedItem);
1104
if (SelectionMode != SelectionMode.None && value != null && (SelectedItem == null || !value.Equals(
GetItemText
(SelectedItem)))) {
1108
if (String.Compare(value,
GetItemText
(Items[index]), true, CultureInfo.CurrentCulture) == 0) {
1357
strings[i] =
GetItemText
(Items[i]);
1583
int insertIndex = unchecked( (int) (long)SendMessage(NativeMethods.LB_ADDSTRING, 0,
GetItemText
(item)));
1626
int insertIndex = unchecked( (int) (long)SendMessage(NativeMethods.LB_INSERTSTRING, index,
GetItemText
(item)));
2187
string z =
GetItemText
(Items[0]);
2240
width = (int)(Math.Ceiling(graphics.MeasureString(
GetItemText
(item), this.Font).Width));
2837
String itemName1 = listControl.
GetItemText
(item1);
2838
String itemName2 = listControl.
GetItemText
(item2);
3377
if (String.Compare(this.owner.
GetItemText
(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
winforms\Managed\System\WinForms\ListControl.cs (2)
539
found = String.Compare(str,
GetItemText
(items[index]), ignorecase, CultureInfo.CurrentCulture) == 0;
542
found = String.Compare(str, 0,
GetItemText
(items[index]), 0, length, ignorecase, CultureInfo.CurrentCulture) == 0;