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