5 references to GetDisplayText
System.Windows.Forms.Design (5)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (5)
220
SizeF size = g.MeasureString(
GetDisplayText
(item), _listBox.Font);
612
string itemText =
GetDisplayText
(item);
864
_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties,
GetDisplayText
((ListItem?)_listBox.SelectedItem));
897
throw new InvalidOperationException(string.Format(SR.CollectionEditorCantRemoveItem,
GetDisplayText
(item)));
1061
_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties,
GetDisplayText
((ListItem)_listBox.SelectedItem));