24 types derived from DesignerActionList
DesignSurface (1)
CustomControls\CustomButtonDesignerActionList.cs (1)
6public 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)
131private class SubDesignerActionList : DesignerActionList
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (1)
233private class SubDesignerActionList : DesignerActionList
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
1062private class CustomDesignerActionList : DesignerActionList 1073private class NullCustomDesignerActionList : DesignerActionList
32 instantiations of DesignerActionList
System.Windows.Forms.Design.Tests (32)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (14)
20yield return new object[] { new DesignerActionList[] { new(null), null } }; 42DesignerActionList value1 = new(null); 49DesignerActionList value2 = new(null); 100DesignerActionList value1 = new(null); 107DesignerActionList value2 = new(null); 123DesignerActionList value = new(null); 143DesignerActionList value1 = new(null); 144DesignerActionList value2 = new(null); 169DesignerActionList value = new(null); 181DesignerActionList value = new(null); 184Assert.False(collection.Contains(new DesignerActionList(null))); 192DesignerActionList value = new(null); 195Assert.Equal(-1, collection.IndexOf(new DesignerActionList(null))); 203DesignerActionList value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
23DesignerActionList list = new(component); 32DesignerActionList list = new(new Component()) 63DesignerActionList list = new(component); 126DesignerActionList list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
15yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "description", false, "displayName" }; 16yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", true, "displayName" }; 41yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "description", "displayName" }; 42yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", "displayName" }; 67yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", false, "displayName" }; 68yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", true, "displayName" }; 93yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "category", "displayName" }; 94yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "displayName" }; 119yield return new object[] { new DesignerActionList(null), "memberName", "displayName", false, "displayName" }; 120yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", true, "displayName" }; 145yield return new object[] { new DesignerActionList(null), "memberName", "displayName", "displayName" }; 146yield return new object[] { new DesignerActionList(null), "member(&a)Name", "displa(&a)yName", "displayName" };
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
48yield return new object[] { new DesignerActionList(null), new DesignerActionListCollection() }; 444DesignerActionListCollection actionLists = new() { null, new DesignerActionList(null), new NullCustomDesignerActionList(null), actionList };
92 references to DesignerActionList
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net10.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)
10private readonly DesignerActionList? _actionList; 14DesignerActionList? actionList, 28DesignerActionList? actionList, 42DesignerActionList? actionList, 57DesignerActionList? actionList, 72DesignerActionList? actionList, 88DesignerActionList? actionList,
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)
19yield return new object[] { Array.Empty<DesignerActionList>() }; 20yield return new object[] { new DesignerActionList[] { new(null), null } }; 25public void DesignerActionListCollection_Ctor_DesignerActionListArray(DesignerActionList[] value) 42DesignerActionList value1 = new(null); 49DesignerActionList value2 = new(null); 63public void DesignerActionListCollection_AddRange_DesignerActionListArray_Success(DesignerActionList[] value) 76public void DesignerActionListCollection_AddRange_DesignerActionListCollection_Success(DesignerActionList[] value) 91Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((DesignerActionList[])null)); 100DesignerActionList value1 = new(null); 107DesignerActionList value2 = new(null); 123DesignerActionList value = new(null); 143DesignerActionList value1 = new(null); 144DesignerActionList value2 = new(null); 169DesignerActionList value = new(null); 172var array = new DesignerActionList[3]; 174Assert.Equal(new DesignerActionList[] { null, value, null }, array); 181DesignerActionList value = new(null); 192DesignerActionList value = new(null); 203DesignerActionList value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
23DesignerActionList list = new(component); 32DesignerActionList list = new(new Component()) 63DesignerActionList list = new(component); 126DesignerActionList list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
23public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb, string expectedDisplayName) 49public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String(DesignerActionList actionList, string memberName, string displayName, string category, string description, string expectedDisplayName) 75public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb, string expectedDisplayName) 101public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String(DesignerActionList actionList, string memberName, string displayName, string category, string expectedDisplayName) 127public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_Bool(DesignerActionList actionList, string memberName, string displayName, bool includeAsDesignerVerb, string expectedDisplayName) 153public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String(DesignerActionList actionList, string memberName, string displayName, string expectedDisplayName)
System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
55public void Add_ComponentDesignerActionList_Success(DesignerActionList actionList, DesignerActionListCollection expected) 84service.Add(component, (DesignerActionList)null); 106Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (DesignerActionList)null)); 111public void Add_ComponentDesignerActionListCollection_Success(DesignerActionList actionList, DesignerActionListCollection expected) 501DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 545DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 601DesignerActionList actionList = Assert.IsAssignableFrom<DesignerActionList>(Assert.Single(actionListBuffer)); 1039Assert.Throws<ArgumentNullException>("actionList", () => service.Remove((DesignerActionList)null));