17 types derived from ComponentDesigner
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\BindingSourceDesigner.cs (1)
9internal class BindingSourceDesigner : ComponentDesigner
System\Windows\Forms\Design\CompositionDesigner.cs (1)
16public class ComponentDocumentDesigner : ComponentDesigner, IRootDesigner, IToolboxUser, IOleDragClient,
System\Windows\Forms\Design\ControlDesigner.cs (1)
18public partial class ControlDesigner : ComponentDesigner
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
11internal class DataGridViewColumnDesigner : ComponentDesigner
System\Windows\Forms\Design\FolderBrowserDialogDesigner.cs (1)
8internal class FolderBrowserDialogDesigner : ComponentDesigner
System\Windows\Forms\Design\ImageListDesigner.cs (1)
14internal partial class ImageListDesigner : ComponentDesigner
System\Windows\Forms\Design\NotifyIconDesigner.cs (1)
9internal class NotifyIconDesigner : ComponentDesigner
System\Windows\Forms\Design\PrintDialogDesigner.cs (1)
9internal class PrintDialogDesigner : ComponentDesigner
System\Windows\Forms\Design\SaveFileDialogDesigner.cs (1)
8internal class SaveFileDialogDesigner : ComponentDesigner
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
18internal class ToolStripDropDownDesigner : ComponentDesigner
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
15internal class ToolStripItemDesigner : ComponentDesigner
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\ComponentDesignerTests.cs (3)
2928private class SubComponentDesigner : ComponentDesigner 2964private class CustomAssociatedComponentsComponentDesigner : ComponentDesigner 2976private class CustomInheritanceAttributeComponentDesigner : ComponentDesigner
System\ComponentModel\Design\DesignSurfaceTests.cs (3)
1761private class RootComponentDesigner : ComponentDesigner, IRootDesigner 1778private class NullSupportedTechnologiesRootComponentDesigner : ComponentDesigner, IRootDesigner 1789private class EmptySupportedTechnologiesRootComponentDesigner : ComponentDesigner, IRootDesigner
35 instantiations of ComponentDesigner
System.Windows.Forms.Design.Tests (35)
System\ComponentModel\Design\ComponentDesignerTests.cs (35)
36using ComponentDesigner designer = new(); 44using ComponentDesigner designer = new(); 428using ComponentDesigner designer = new(); 540using ComponentDesigner designer = new(); 600using ComponentDesigner designer = new(); 619using ComponentDesigner designer = new(); 729using ComponentDesigner designer = new(); 763using ComponentDesigner designer = new(); 884using ComponentDesigner designer = new(); 982using ComponentDesigner designer = new(); 1111using ComponentDesigner designer = new(); 1204using ComponentDesigner designer = new(); 1290using ComponentDesigner designer = new(); 1380using ComponentDesigner designer = new(); 1487using ComponentDesigner designer = new(); 1594using ComponentDesigner designer = new(); 1685using ComponentDesigner designer = new(); 1756using ComponentDesigner designer = new(); 1811using ComponentDesigner designer = new(); 1875using ComponentDesigner designer = new(); 2003using ComponentDesigner designer = new(); 2013using ComponentDesigner designer = new(); 2021using ComponentDesigner designer = new(); 2087using ComponentDesigner designer = new(); 2138using ComponentDesigner designer = new(); 2198using ComponentDesigner designer = new(); 2259using ComponentDesigner designer = new(); 2267using ComponentDesigner designer = new(); 2275using ComponentDesigner designer = new(); 2610using ComponentDesigner designer = new(); 2679using ComponentDesigner designer = new(); 2687using ComponentDesigner designer = new(); 2696using ComponentDesigner designer = new(); 2790using ComponentDesigner designer = new(); 2807using ComponentDesigner designer = new();
101 references to ComponentDesigner
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net10.0\System.Design.Forwards.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.ComponentDesigner))]
System.Windows.Forms.Design (49)
System\ComponentModel\Design\ComponentDesigner.CDDesignerCommandSet.cs (2)
15private readonly ComponentDesigner _componentDesigner; 17public CDDesignerCommandSet(ComponentDesigner componentDesigner) => _componentDesigner = componentDesigner;
System\ComponentModel\Design\ComponentDesigner.cs (5)
235/// Disposes of the resources (other than memory) used by the <see cref="ComponentDesigner"/>. 373/// Initializes a new instance of the <see cref="ComponentDesigner"/> class using the specified component. 446protected InheritanceAttribute? InvokeGetInheritanceAttribute(ComponentDesigner? toInvoke) 450/// Disposes of the resources (other than memory) used by the <see cref="ComponentDesigner"/>. 714typeof(ComponentDesigner),
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (2)
13private readonly ComponentDesigner _designer; 17internal ShadowPropertyCollection(ComponentDesigner designer) => _designer = designer;
System\ComponentModel\Design\DesignerActionPanel.cs (1)
622if (host?.GetDesigner(relatedComponent) is ComponentDesigner componentDesigner)
System\Windows\Forms\Design\CollectionEditVerbManager.cs (2)
19private readonly ComponentDesigner _designer; 27internal CollectionEditVerbManager(string text, ComponentDesigner designer, PropertyDescriptor prop, bool addToDesignerVerbs)
System\Windows\Forms\Design\CommandSet.cs (4)
517if (host.GetDesigner(component) is not ComponentDesigner designer) 2008if (host.GetDesigner(curComp) is not ComponentDesigner cDesigner) 2016ComponentDesigner? parentCompDesigner = ((ITreeDesigner)cDesigner).Parent as ComponentDesigner;
System\Windows\Forms\Design\ControlCommandSet.cs (2)
1201ComponentDesigner baseDesigner = host.GetDesigner(_baseControl) as ComponentDesigner;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (4)
202public static ComponentDesigner? GetComponentDesignerForType(ITypeResolutionService? typeResolutionService, Type type) 204ComponentDesigner? compDesigner = null; 226if (designerType is not null && typeof(ComponentDesigner).IsAssignableFrom(designerType)) 228compDesigner = Activator.CreateInstance(designerType) as ComponentDesigner;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (4)
117ComponentDesigner newColumnDesigner = DataGridViewAddColumnDialog.GetComponentDesignerForType(tr, newType)!; 877ComponentDesigner columnDesigner = DataGridViewAddColumnDialog.GetComponentDesignerForType(tr, _columnsPrivateCopy[i].GetType())!; 1205public ComponentDesigner? DataGridViewColumnDesigner { get; } 1208public ListBoxItem(DataGridViewColumn column, DataGridViewColumnCollectionDialog owner, ComponentDesigner compDesigner)
System\Windows\Forms\Design\DesignerUtils.cs (1)
804if (host?.GetDesigner(component) is not ComponentDesigner designer)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
992ComponentDesigner compDesigner = host.GetDesigner(selComp) as ComponentDesigner;
System\Windows\Forms\Design\EditorServiceContext.cs (4)
17private readonly ComponentDesigner _designer; 21internal EditorServiceContext(ComponentDesigner designer, PropertyDescriptor? prop) 37internal EditorServiceContext(ComponentDesigner designer, PropertyDescriptor? prop, string newVerbText) : this(designer, prop) 43public static object? EditValue(ComponentDesigner designer, object objectToChange, string propName)
System\Windows\Forms\Design\ListControlUnboundActionList.cs (2)
10private readonly ComponentDesigner _designer; 12public ListControlUnboundActionList(ComponentDesigner designer)
System\Windows\Forms\Design\ListViewActionList.cs (2)
11private readonly ComponentDesigner _designer; 14public ListViewActionList(ComponentDesigner designer)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
119if (host.GetDesigner(component) is not ComponentDesigner designer)
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
2497ComponentDesigner cd = designer as ComponentDesigner;
System\Windows\Forms\Design\StandardMenuStripVerb.cs (4)
139if (designer is ComponentDesigner componentDesigner) 151if (designer is ComponentDesigner componentDesigner) 310if (designer is ComponentDesigner componentDesigner) 320if (designer is ComponentDesigner componentDesigner)
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
77if (designer is ComponentDesigner componentDesigner)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
392if (designer is ComponentDesigner componentDesigner) 443if (designer is ComponentDesigner componentDesigner) 482if (designer is ComponentDesigner componentDesigner) 522if (designer is ComponentDesigner componentDesigner)
System.Windows.Forms.Design.Tests (51)
EnsureDesignerTests.cs (2)
16IEnumerable<Type> designers = typeof(ComponentDesigner).Assembly 18.Where(t => t.IsSubclassOf(typeof(ComponentDesigner))
EnsureEditorsTests.cs (1)
28IEnumerable<Type> editors = typeof(ComponentDesigner).Assembly
System\ComponentModel\Design\ComponentDesignerTests.cs (45)
36using ComponentDesigner designer = new(); 44using ComponentDesigner designer = new(); 428using ComponentDesigner designer = new(); 540using ComponentDesigner designer = new(); 600using ComponentDesigner designer = new(); 619using ComponentDesigner designer = new(); 729using ComponentDesigner designer = new(); 763using ComponentDesigner designer = new(); 884using ComponentDesigner designer = new(); 982using ComponentDesigner designer = new(); 1111using ComponentDesigner designer = new(); 1204using ComponentDesigner designer = new(); 1290using ComponentDesigner designer = new(); 1380using ComponentDesigner designer = new(); 1487using ComponentDesigner designer = new(); 1594using ComponentDesigner designer = new(); 1685using ComponentDesigner designer = new(); 1756using ComponentDesigner designer = new(); 1811using ComponentDesigner designer = new(); 1875using ComponentDesigner designer = new(); 2003using ComponentDesigner designer = new(); 2013using ComponentDesigner designer = new(); 2021using ComponentDesigner designer = new(); 2087using ComponentDesigner designer = new(); 2138using ComponentDesigner designer = new(); 2198using ComponentDesigner designer = new(); 2259using ComponentDesigner designer = new(); 2267using ComponentDesigner designer = new(); 2275using ComponentDesigner designer = new(); 2316Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2336Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2610using ComponentDesigner designer = new(); 2679using ComponentDesigner designer = new(); 2687using ComponentDesigner designer = new(); 2696using ComponentDesigner designer = new(); 2704Mock<ComponentDesigner> mockDesigner = new(MockBehavior.Strict); 2719Mock<ComponentDesigner> mockDesigner = new(MockBehavior.Strict); 2746Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2767Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2790using ComponentDesigner designer = new(); 2807using ComponentDesigner designer = new(); 2817Mock<ComponentDesigner> mockDesigner = new(MockBehavior.Strict); 2852Mock<ComponentDesigner> mockDesigner = new(MockBehavior.Strict); 2912Mock<ComponentDesigner> mockDesigner = new(MockBehavior.Strict); 2942public new InheritanceAttribute InvokeGetInheritanceAttribute(ComponentDesigner toInvoke) => base.InvokeGetInheritanceAttribute(toInvoke);
System\ComponentModel\Design\DesignSurfaceTests.cs (3)
992Assert.IsType<ComponentDesigner>(surface.CreateDesigner(component, rootDesigner: false)); 1001Assert.IsType<ComponentDesigner>(surface.CreateDesigner(component, rootDesigner: false)); 1756[Designer(typeof(ComponentDesigner))]