14 references to GetComponentName
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (2)
123string? sourceName = TypeDescriptor.GetComponentName(source.Owner!) ?? source.Owner!.ToString(); 124string? relName = TypeDescriptor.GetComponentName(relationship.Owner!) ?? relationship.Owner!.ToString();
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
854return TypeDescriptor.GetComponentName(component);
System.Windows.Forms.Design (11)
System\ComponentModel\Design\ReferenceService.cs (2)
321Debug.Assert(TypeDescriptor.GetComponentName(sitedComponent) is not null, $"Sited component has no name: {sitedComponent}"); 344string? siteName = TypeDescriptor.GetComponentName(SitedComponent);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
464string? name = TypeDescriptor.GetComponentName(c);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
365string name = TypeDescriptor.GetComponentName(_dragComponents[0].dragComponent);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
239string name = TypeDescriptor.GetComponentName(_resizeComponents[0].resizeControl);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
197string? name = TypeDescriptor.GetComponentName(control);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1246string? ICustomTypeDescriptor.GetComponentName() => TypeDescriptor.GetComponentName(DataGridViewColumn);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
340string name = TypeDescriptor.GetComponentName(_dragControls[0]);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1839string name = TypeDescriptor.GetComponentName(dragComponents[0]);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
663string name = TypeDescriptor.GetComponentName(dragComponents[0]);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2699string name = TypeDescriptor.GetComponentName(dragComponents[0]);