1 implementation of Component
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ComponentDesigner.cs (1)
172public IComponent Component => _component ?? throw new InvalidOperationException("Designer is not initialized");
14 references to Component
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignerHost.cs (1)
271if (designer.Component is null)
System\Windows\Forms\Design\CommandSet.cs (3)
1656commonParent = parentDesigner.Component; 1734commonParent = commonDesigner?.Component; 1769IComponent component = designer.Component;
System\Windows\Forms\Design\ComponentTray.cs (8)
300PropertyDescriptor trayIconProp = TypeDescriptor.GetProperties(_mainDesigner.Component)["TrayLargeIcon"]; 301trayIconProp?.SetValue(_mainDesigner.Component, !ShowLargeIcons); 406PropertyDescriptor trayAAProp = TypeDescriptor.GetProperties(_mainDesigner.Component)["TrayAutoArrange"]; 407trayAAProp?.SetValue(_mainDesigner.Component, !AutoArrange); 482get => _mainDesigner.Component; 652&& !(selectionService.SelectionCount == 1 && selectionService.PrimarySelection == _mainDesigner.Component)) 1259ss?.SetSelectedComponents(new object[] { _mainDesigner.Component }); 1340comps = [_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)
767designer.CommitEdit(_designer.Component.GetType(), text, commit, enterKeyPressed, tabKeyPressed);