3 implementations of Component
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ComponentDesigner.cs (1)
172
public IComponent
Component
=> _component ?? throw new InvalidOperationException("Designer is not initialized");
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3164
public IComponent
Component
=> _initializedComponent;
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1036
public IComponent
Component
=> _initializedComponent;
15 references to Component
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignerHost.cs (1)
275
if (designer.
Component
is null)
System\Windows\Forms\Design\CommandSet.cs (3)
1662
commonParent = parentDesigner.
Component
;
1740
commonParent = commonDesigner?.
Component
;
1775
IComponent component = designer.
Component
;
System\Windows\Forms\Design\ComponentTray.cs (8)
306
PropertyDescriptor trayIconProp = TypeDescriptor.GetProperties(_mainDesigner.
Component
)["TrayLargeIcon"];
307
trayIconProp?.SetValue(_mainDesigner.
Component
, !ShowLargeIcons);
412
PropertyDescriptor trayAAProp = TypeDescriptor.GetProperties(_mainDesigner.
Component
)["TrayAutoArrange"];
413
trayAAProp?.SetValue(_mainDesigner.
Component
, !AutoArrange);
488
get => _mainDesigner.
Component
;
658
&& !(selectionService.SelectionCount == 1 && selectionService.PrimarySelection == _mainDesigner.
Component
))
1274
ss?.SetSelectedComponents(new object[] { _mainDesigner.
Component
});
1355
comps = [_mainDesigner.
Component
];
System\Windows\Forms\Design\TabPageDesigner.cs (1)
12
public override bool CanBeParentedTo(IDesigner parentDesigner) => (parentDesigner is not null && parentDesigner.
Component
is TabControl);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
806
designer.CommitEdit(_designer.
Component
.GetType(), text, commit, enterKeyPressed, tabKeyPressed);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TabPageDesignerTests.cs (1)
39
mockDesigner.Setup(d => d.
Component
).Returns(mockTabControl.Object);