1 write to RelatedComponent
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DesignerActionBehavior.cs (1)
30
RelatedComponent
= relatedComponent;
9 references to RelatedComponent
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionUI.cs (2)
336
Debug.Assert(behaviorWithPanelToRegen.
RelatedComponent
is not null, "could not find related component for this refresh");
340
string.Format(SR.DesignerActionPanel_DefaultPanelTitle, behaviorWithPanelToRegen.
RelatedComponent
.GetType().Name),
System\Windows\Forms\Design\Behavior\DesignerActionBehavior.cs (4)
79
DesignerActionPanel dap = CreateDesignerActionPanel(
RelatedComponent
);
80
ParentUI.ShowDesignerActionPanel(
RelatedComponent
, dap, glyph);
123
selectionService.PrimarySelection !=
RelatedComponent
)
125
List<IComponent> componentList = [
RelatedComponent
];
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (2)
131
IComponent relatedComponent = ((DesignerActionBehavior)Behavior).
RelatedComponent
;
197
IComponent relatedComponent = behavior.
RelatedComponent
;
System\Windows\Forms\Design\ComponentTray.cs (1)
2761
if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).
RelatedComponent
.Equals(trayControl.Component))