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)
24
public DesignerActionListsChangedEventArgs(object? relatedObject,
DesignerActionListsChangedType
changeType, DesignerActionListCollection? actionLists)
41
public
DesignerActionListsChangedType
ChangeType { get; }
System\ComponentModel\Design\DesignerActionService.cs (4)
78
OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp,
DesignerActionListsChangedType
.ActionListsAdded, GetComponentActions(comp)));
108
OnDesignerActionListsChanged(new(comp,
DesignerActionListsChangedType
.ActionListsRemoved, GetComponentActions(comp)));
312
OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp,
DesignerActionListsChangedType
.ActionListsRemoved, GetComponentActions(comp)));
366
OnDesignerActionListsChanged(new DesignerActionListsChangedEventArgs(comp,
DesignerActionListsChangedType
.ActionListsRemoved, GetComponentActions(comp)));
System\ComponentModel\Design\DesignerActionUI.cs (2)
427
if (e.ChangeType ==
DesignerActionListsChangedType
.ActionListsAdded)
450
if (e.ChangeType ==
DesignerActionListsChangedType
.ActionListsRemoved && e.ActionLists!.Count == 0)
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\DesignerActionListsChangedEventArgsTests.cs (3)
10
yield return new object[] { null,
DesignerActionListsChangedType
.ActionListsAdded - 1, null };
11
yield return new object[] { new(),
DesignerActionListsChangedType
.ActionListsAdded, new DesignerActionListCollection() };
16
public void Ctor_Object_DesignerActionListsChangedType_DesignerActionListCollection(object relatedObject,
DesignerActionListsChangedType
changeType, DesignerActionListCollection actionLists)
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
206
Assert.Equal(
DesignerActionListsChangedType
.ActionListsRemoved, e.ChangeType);
691
Assert.Equal(
DesignerActionListsChangedType
.ActionListsRemoved, e.ChangeType);
873
Assert.Equal(
DesignerActionListsChangedType
.ActionListsRemoved, e.ChangeType);
1003
Assert.Equal(
DesignerActionListsChangedType
.ActionListsRemoved, e.ChangeType);