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