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