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