24 types derived from DesignerActionList
DesignSurface (1)
CustomControls\CustomButtonDesignerActionList.cs (1)
10public class CustomButtonDesignerActionList : DesignerActionList
System.Windows.Forms.Design (19)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
13internal class ToolStripContainerActionList : DesignerActionList
System\Windows\Forms\Design\ContextMenuStripActionList.cs (1)
9internal class ContextMenuStripActionList : DesignerActionList
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (1)
11private class DockingActionList : DesignerActionList
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
809private class DataGridViewChooseDataSourceActionList : DesignerActionList 863private class DataGridViewColumnEditingActionList : DesignerActionList 893private class DataGridViewPropertiesActionList : DesignerActionList
System\Windows\Forms\Design\DesignerActionVerbList.cs (1)
6internal class DesignerActionVerbList : DesignerActionList
System\Windows\Forms\Design\ImageListActionList.cs (1)
10internal class ImageListActionList : DesignerActionList
System\Windows\Forms\Design\ListControlUnboundActionList.cs (1)
8internal class ListControlUnboundActionList : DesignerActionList
System\Windows\Forms\Design\ListViewActionList.cs (1)
9internal class ListViewActionList : DesignerActionList
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (1)
13internal class MaskedTextBoxDesignerActionList : DesignerActionList
System\Windows\Forms\Design\NotifyIconDesignerActionList.cs (1)
8internal class NotifyIconActionList : DesignerActionList
System\Windows\Forms\Design\PictureBoxActionList.cs (1)
9internal class PictureBoxActionList : DesignerActionList
System\Windows\Forms\Design\RichTextBoxActionList.cs (1)
8internal class RichTextBoxActionList : DesignerActionList
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (1)
14private class OrientationActionList : DesignerActionList
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
385private class TableLayouPanelRowColumnActionList : DesignerActionList
System\Windows\Forms\Design\TextBoxActionList.cs (1)
9internal class TextBoxActionList : DesignerActionList
System\Windows\Forms\Design\ToolStripActionList.cs (1)
9internal class ToolStripActionList : DesignerActionList
System\Windows\Forms\Design\TreeViewActionList.cs (1)
9internal class TreeViewActionList : DesignerActionList
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\DesignerActionListTests.cs (1)
129private class SubDesignerActionList : DesignerActionList
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (1)
238private class SubDesignerActionList : DesignerActionList
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
1060private class CustomDesignerActionList : DesignerActionList 1071private class NullCustomDesignerActionList : DesignerActionList
32 instantiations of DesignerActionList
System.Windows.Forms.Design.Tests (32)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (14)
18yield return new object[] { new DesignerActionList[] { new(null), null } }; 40DesignerActionList value1 = new(null); 47DesignerActionList value2 = new(null); 98DesignerActionList value1 = new(null); 105DesignerActionList value2 = new(null); 121DesignerActionList value = new(null); 141DesignerActionList value1 = new(null); 142DesignerActionList value2 = new(null); 167DesignerActionList value = new(null); 179DesignerActionList value = new(null); 182Assert.False(collection.Contains(new DesignerActionList(null))); 190DesignerActionList value = new(null); 193Assert.Equal(-1, collection.IndexOf(new DesignerActionList(null))); 201DesignerActionList value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
21DesignerActionList list = new(component); 30DesignerActionList list = new(new Component()) 61DesignerActionList list = new(component); 124DesignerActionList list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
13yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "description", false, "displayName" }; 14yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", true, "displayName" }; 39yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "description", "displayName" }; 40yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", "displayName" }; 65yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", false, "displayName" }; 66yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", true, "displayName" }; 91yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "displayName" }; 92yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "displayName" }; 117yield return new object[] { new DesignerActionList(null), "memberName", "displayName", false, "displayName" }; 118yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", true, "displayName" }; 143yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "displayName" }; 144yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "displayName" };
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
46yield return new object[] { new DesignerActionList(null), new DesignerActionListCollection() }; 442DesignerActionListCollection actionLists = new() { null, new DesignerActionList(null), new NullCustomDesignerActionList(null), actionList };
92 references to DesignerActionList
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
14[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerActionList))]
System.Windows.Forms.Design (51)
System\ComponentModel\Design\DesignerActionList.cs (2)
30typeof(DesignerActionList).GetMethods(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public)); 32typeof(DesignerActionList).GetProperties(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public));
System\ComponentModel\Design\DesignerActionListCollection.cs (10)
14public DesignerActionListCollection(DesignerActionList?[] value) 19public DesignerActionList? this[int index] 21get => (DesignerActionList?)List[index]; 25public int Add(DesignerActionList? value) => List.Add(value); 27public void AddRange(params DesignerActionList?[] value) 48public void Insert(int index, DesignerActionList? value) => List.Insert(index, value); 50public int IndexOf(DesignerActionList? value) => List.IndexOf(value); 52public bool Contains(DesignerActionList? value) => List.Contains(value); 54public void Remove(DesignerActionList? value) => List.Remove(value); 56public void CopyTo(DesignerActionList?[] array, int index) => List.CopyTo(array, index);
System\ComponentModel\Design\DesignerActionListsChangedEventArgs.cs (1)
12/// to signify that a <see cref="DesignerActionList"/> was added or removed from the related object.
System\ComponentModel\Design\DesignerActionMethodItem.cs (7)
12private readonly DesignerActionList _actionList; 15public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb) 23public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName) : this(actionList, memberName, displayName, null, null, false) 27public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName, bool includeAsDesignerVerb) : this(actionList, memberName, displayName, null, null, includeAsDesignerVerb) 31public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName, string category) : this(actionList, memberName, displayName, category, null, false) 35public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb) : this(actionList, memberName, displayName, category, null, includeAsDesignerVerb) 39public DesignerActionMethodItem(DesignerActionList actionList, string memberName, string displayName, string category, string description) : this(actionList, memberName, displayName, category, description, false)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (2)
65public static StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionPropertyItem item) => new Info(list, item); 67private sealed class Info(DesignerActionList list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.cs (8)
208private static void AddToCategories(StandardLineInfo lineInfo, Dictionary<string, Dictionary<DesignerActionList, List<LineInfo>>> categories) 213if (!categories.TryGetValue(categoryName, out Dictionary<DesignerActionList, List<LineInfo>>? category)) 549private void ProcessLists(DesignerActionListCollection? lists, Dictionary<string, Dictionary<DesignerActionList, List<LineInfo>>> categories) 556foreach (DesignerActionList list in lists) 632foreach (DesignerActionList relatedList in relatedLists) 661private StandardLineInfo? ProcessTaskItem(DesignerActionList list, DesignerActionItem item) 817Dictionary<string, Dictionary<DesignerActionList, List<LineInfo>>> categories = []; 827foreach (Dictionary<DesignerActionList, List<LineInfo>> category in categories.Values)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
474public static new StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionPropertyItem item) => new Info(list, item); 476private sealed class Info(DesignerActionList list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.HeaderLine.cs (2)
18public static new StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionTextItem item) => new HeaderTextLineInfo(list, item); 20private sealed class HeaderTextLineInfo(DesignerActionList list, DesignerActionTextItem item) : TextLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.LineInfo.cs (2)
16private abstract class StandardLineInfo(DesignerActionList list) : LineInfo 19public DesignerActionList List { get; } = list;
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (3)
14private DesignerActionList? _actionList; 117public static StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionMethodItem item) => new Info(list, item); 119private sealed class Info(DesignerActionList list, DesignerActionMethodItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (2)
14private DesignerActionList? _actionList; 113protected abstract class PropertyLineInfo(DesignerActionList list, DesignerActionPropertyItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
360public static StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionPropertyItem item) => new Info(list, item); 362private sealed class Info(DesignerActionList list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (2)
73public static StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionTextItem item) => new TextLineInfo(list, item); 75protected class TextLineInfo(DesignerActionList list, DesignerActionTextItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionService.cs (5)
84public void Add(IComponent comp, DesignerActionList actionList) 225foreach (DesignerActionList actionList in pullCollection) 275foreach (DesignerActionList actionList in pushCollection) 320public void Remove(DesignerActionList actionList) 339public void Remove(IComponent comp, DesignerActionList actionList)
System\ComponentModel\Design\MenuCommandService.cs (1)
226foreach (DesignerActionList list in actionLists)
System.Windows.Forms.Design.Tests (40)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (19)
17yield return new object[] { Array.Empty<DesignerActionList>() }; 18yield return new object[] { new DesignerActionList[] { new(null), null } }; 23public void DesignerActionListCollection_Ctor_DesignerActionListArray(DesignerActionList[] value) 40DesignerActionList value1 = new(null); 47DesignerActionList value2 = new(null); 61public void DesignerActionListCollection_AddRange_DesignerActionListArray_Success(DesignerActionList[] value) 74public void DesignerActionListCollection_AddRange_DesignerActionListCollection_Success(DesignerActionList[] value) 89Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((DesignerActionList[])null)); 98DesignerActionList value1 = new(null); 105DesignerActionList value2 = new(null); 121DesignerActionList value = new(null); 141DesignerActionList value1 = new(null); 142DesignerActionList value2 = new(null); 167DesignerActionList value = new(null); 170var array = new DesignerActionList[3]; 172Assert.Equal(new DesignerActionList[] { null, value, null }, array); 179DesignerActionList value = new(null); 190DesignerActionList value = new(null); 201DesignerActionList value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
21DesignerActionList list = new(component); 30DesignerActionList list = new(new Component()) 61DesignerActionList list = new(component); 124DesignerActionList list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
21public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb, string expectedDisplayName) 47public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String(DesignerActionList actionList, string memberName, string displayName, string category, string description, string expectedDisplayName) 73public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb, string expectedDisplayName) 99public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String(DesignerActionList actionList, string memberName, string displayName, string category, string expectedDisplayName) 125public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, bool includeAsDesignerVerb, string expectedDisplayName) 151public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String(DesignerActionList actionList, string memberName, string displayName, string expectedDisplayName)
System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
53public void Add_ComponentDesignerActionList_Success(DesignerActionList actionList, DesignerActionListCollection expected) 82service.Add(component, (DesignerActionList)null); 104Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (DesignerActionList)null)); 109public void Add_ComponentDesignerActionListCollection_Success(DesignerActionList actionList, DesignerActionListCollection expected) 499DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 543DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 599DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 1037Assert.Throws<ArgumentNullException>("actionList", () => service.Remove((DesignerActionList)null));