16 references to DesignerActionListsChangedType
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
18[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerActionListsChangedType))]
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionListsChangedEventArgs.cs (2)
24public DesignerActionListsChangedEventArgs(object? relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection? actionLists) 41public DesignerActionListsChangedType ChangeType { get; }
System\ComponentModel\Design\DesignerActionService.cs (4)
78OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp, DesignerActionListsChangedType.ActionListsAdded, GetComponentActions(comp))); 108OnDesignerActionListsChanged(new(comp, DesignerActionListsChangedType.ActionListsRemoved, GetComponentActions(comp))); 312OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp, DesignerActionListsChangedType.ActionListsRemoved, GetComponentActions(comp))); 366OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp, DesignerActionListsChangedType.ActionListsRemoved, GetComponentActions(comp)));
System\ComponentModel\Design\DesignerActionUI.cs (2)
427if (e.ChangeType == DesignerActionListsChangedType.ActionListsAdded) 450if (e.ChangeType == DesignerActionListsChangedType.ActionListsRemoved && e.ActionLists!.Count == 0)
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\DesignerActionListsChangedEventArgsTests.cs (3)
10yield return new object[] { null, DesignerActionListsChangedType.ActionListsAdded - 1, null }; 11yield return new object[] { new(), DesignerActionListsChangedType.ActionListsAdded, new DesignerActionListCollection() }; 16public void Ctor_Object_DesignerActionListsChangedType_DesignerActionListCollection(object relatedObject, DesignerActionListsChangedType changeType, DesignerActionListCollection actionLists)
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
206Assert.Equal(DesignerActionListsChangedType.ActionListsRemoved, e.ChangeType); 691Assert.Equal(DesignerActionListsChangedType.ActionListsRemoved, e.ChangeType); 873Assert.Equal(DesignerActionListsChangedType.ActionListsRemoved, e.ChangeType); 1003Assert.Equal(DesignerActionListsChangedType.ActionListsRemoved, e.ChangeType);