1 write to RelatedObject
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionListsChangedEventArgs.cs (1)
26RelatedObject = relatedObject;
11 references to RelatedObject
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionUI.cs (5)
429if (e.RelatedObject is not IComponent relatedComponent) 436if (primSel == e.RelatedObject) 445RemoveActionGlyph(e.RelatedObject); 453RemoveActionGlyph(e.RelatedObject); 458RecreatePanel(e.RelatedObject as IComponent);
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\DesignerActionListsChangedEventArgsTests.cs (1)
19Assert.Same(relatedObject, e.RelatedObject);
System\ComponentModel\Design\DesignerActionServiceTests.cs (5)
205Assert.True(e.RelatedObject == component1 || e.RelatedObject == component2); 690Assert.Same(component1, e.RelatedObject); 872Assert.Same(component1, e.RelatedObject); 1002Assert.Same(component1, e.RelatedObject);