24 types derived from DesignerActionList
DesignSurface (1)
CustomControls\CustomButtonDesignerActionList.cs (1)
6
public class CustomButtonDesignerActionList :
DesignerActionList
System.Windows.Forms.Design (19)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
13
internal class ToolStripContainerActionList :
DesignerActionList
System\Windows\Forms\Design\ContextMenuStripActionList.cs (1)
9
internal class ContextMenuStripActionList :
DesignerActionList
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (1)
11
private class DockingActionList :
DesignerActionList
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
809
private class DataGridViewChooseDataSourceActionList :
DesignerActionList
863
private class DataGridViewColumnEditingActionList :
DesignerActionList
893
private class DataGridViewPropertiesActionList :
DesignerActionList
System\Windows\Forms\Design\DesignerActionVerbList.cs (1)
6
internal class DesignerActionVerbList :
DesignerActionList
System\Windows\Forms\Design\ImageListActionList.cs (1)
10
internal class ImageListActionList :
DesignerActionList
System\Windows\Forms\Design\ListControlUnboundActionList.cs (1)
8
internal class ListControlUnboundActionList :
DesignerActionList
System\Windows\Forms\Design\ListViewActionList.cs (1)
9
internal class ListViewActionList :
DesignerActionList
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (1)
13
internal class MaskedTextBoxDesignerActionList :
DesignerActionList
System\Windows\Forms\Design\NotifyIconDesignerActionList.cs (1)
8
internal class NotifyIconActionList :
DesignerActionList
System\Windows\Forms\Design\PictureBoxActionList.cs (1)
9
internal class PictureBoxActionList :
DesignerActionList
System\Windows\Forms\Design\RichTextBoxActionList.cs (1)
8
internal class RichTextBoxActionList :
DesignerActionList
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (1)
14
private class OrientationActionList :
DesignerActionList
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
385
private class TableLayouPanelRowColumnActionList :
DesignerActionList
System\Windows\Forms\Design\TextBoxActionList.cs (1)
9
internal class TextBoxActionList :
DesignerActionList
System\Windows\Forms\Design\ToolStripActionList.cs (1)
9
internal class ToolStripActionList :
DesignerActionList
System\Windows\Forms\Design\TreeViewActionList.cs (1)
9
internal class TreeViewActionList :
DesignerActionList
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\DesignerActionListTests.cs (1)
131
private class SubDesignerActionList :
DesignerActionList
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (1)
233
private class SubDesignerActionList :
DesignerActionList
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
1062
private class CustomDesignerActionList :
DesignerActionList
1073
private class NullCustomDesignerActionList :
DesignerActionList
32 instantiations of DesignerActionList
System.Windows.Forms.Design.Tests (32)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (14)
20
yield return new object[] { new DesignerActionList[] {
new
(null), null } };
42
DesignerActionList value1 =
new
(null);
49
DesignerActionList value2 =
new
(null);
100
DesignerActionList value1 =
new
(null);
107
DesignerActionList value2 =
new
(null);
123
DesignerActionList value =
new
(null);
143
DesignerActionList value1 =
new
(null);
144
DesignerActionList value2 =
new
(null);
169
DesignerActionList value =
new
(null);
181
DesignerActionList value =
new
(null);
184
Assert.False(collection.Contains(new
DesignerActionList
(null)));
192
DesignerActionList value =
new
(null);
195
Assert.Equal(-1, collection.IndexOf(new
DesignerActionList
(null)));
203
DesignerActionList value =
new
(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
23
DesignerActionList list =
new
(component);
32
DesignerActionList list =
new
(new Component())
63
DesignerActionList list =
new
(component);
126
DesignerActionList list =
new
(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
15
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "description", false, "displayName" };
16
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", true, "displayName" };
41
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "description", "displayName" };
42
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", "displayName" };
67
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", false, "displayName" };
68
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", true, "displayName" };
93
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "displayName" };
94
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "displayName" };
119
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", false, "displayName" };
120
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", true, "displayName" };
145
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "displayName" };
146
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "displayName" };
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
48
yield return new object[] { new
DesignerActionList
(null), new DesignerActionListCollection() };
444
DesignerActionListCollection 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)
30
typeof(
DesignerActionList
).GetMethods(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public));
32
typeof(
DesignerActionList
).GetProperties(BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public));
System\ComponentModel\Design\DesignerActionListCollection.cs (10)
14
public DesignerActionListCollection(
DesignerActionList
?[] value)
19
public
DesignerActionList
? this[int index]
21
get => (
DesignerActionList
?)List[index];
25
public int Add(
DesignerActionList
? value) => List.Add(value);
27
public void AddRange(params
DesignerActionList
?[] value)
48
public void Insert(int index,
DesignerActionList
? value) => List.Insert(index, value);
50
public int IndexOf(
DesignerActionList
? value) => List.IndexOf(value);
52
public bool Contains(
DesignerActionList
? value) => List.Contains(value);
54
public void Remove(
DesignerActionList
? value) => List.Remove(value);
56
public 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)
10
private readonly
DesignerActionList
? _actionList;
14
DesignerActionList
? actionList,
28
DesignerActionList
? actionList,
42
DesignerActionList
? actionList,
57
DesignerActionList
? actionList,
72
DesignerActionList
? actionList,
88
DesignerActionList
? actionList,
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (2)
65
public static StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionPropertyItem item) => new Info(list, item);
67
private sealed class Info(
DesignerActionList
list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.cs (8)
208
private static void AddToCategories(StandardLineInfo lineInfo, Dictionary<string, Dictionary<
DesignerActionList
, List<LineInfo>>> categories)
213
if (!categories.TryGetValue(categoryName, out Dictionary<
DesignerActionList
, List<LineInfo>>? category))
549
private void ProcessLists(DesignerActionListCollection? lists, Dictionary<string, Dictionary<
DesignerActionList
, List<LineInfo>>> categories)
556
foreach (
DesignerActionList
list in lists)
632
foreach (
DesignerActionList
relatedList in relatedLists)
661
private StandardLineInfo? ProcessTaskItem(
DesignerActionList
list, DesignerActionItem item)
817
Dictionary<string, Dictionary<
DesignerActionList
, List<LineInfo>>> categories = [];
827
foreach (Dictionary<
DesignerActionList
, List<LineInfo>> category in categories.Values)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
474
public static new StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionPropertyItem item) => new Info(list, item);
476
private sealed class Info(
DesignerActionList
list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.HeaderLine.cs (2)
18
public static new StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionTextItem item) => new HeaderTextLineInfo(list, item);
20
private sealed class HeaderTextLineInfo(
DesignerActionList
list, DesignerActionTextItem item) : TextLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.LineInfo.cs (2)
16
private abstract class StandardLineInfo(
DesignerActionList
list) : LineInfo
19
public
DesignerActionList
List { get; } = list;
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (3)
14
private
DesignerActionList
? _actionList;
117
public static StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionMethodItem item) => new Info(list, item);
119
private sealed class Info(
DesignerActionList
list, DesignerActionMethodItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (2)
14
private
DesignerActionList
? _actionList;
113
protected abstract class PropertyLineInfo(
DesignerActionList
list, DesignerActionPropertyItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
360
public static StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionPropertyItem item) => new Info(list, item);
362
private sealed class Info(
DesignerActionList
list, DesignerActionPropertyItem item) : PropertyLineInfo(list, item)
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (2)
73
public static StandardLineInfo CreateLineInfo(
DesignerActionList
list, DesignerActionTextItem item) => new TextLineInfo(list, item);
75
protected class TextLineInfo(
DesignerActionList
list, DesignerActionTextItem item) : StandardLineInfo(list)
System\ComponentModel\Design\DesignerActionService.cs (5)
84
public void Add(IComponent comp,
DesignerActionList
actionList)
225
foreach (
DesignerActionList
actionList in pullCollection)
275
foreach (
DesignerActionList
actionList in pushCollection)
320
public void Remove(
DesignerActionList
actionList)
339
public void Remove(IComponent comp,
DesignerActionList
actionList)
System\ComponentModel\Design\MenuCommandService.cs (1)
226
foreach (
DesignerActionList
list in actionLists)
System.Windows.Forms.Design.Tests (40)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (19)
19
yield return new object[] { Array.Empty<
DesignerActionList
>() };
20
yield return new object[] { new
DesignerActionList
[] { new(null), null } };
25
public void DesignerActionListCollection_Ctor_DesignerActionListArray(
DesignerActionList
[] value)
42
DesignerActionList
value1 = new(null);
49
DesignerActionList
value2 = new(null);
63
public void DesignerActionListCollection_AddRange_DesignerActionListArray_Success(
DesignerActionList
[] value)
76
public void DesignerActionListCollection_AddRange_DesignerActionListCollection_Success(
DesignerActionList
[] value)
91
Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((
DesignerActionList
[])null));
100
DesignerActionList
value1 = new(null);
107
DesignerActionList
value2 = new(null);
123
DesignerActionList
value = new(null);
143
DesignerActionList
value1 = new(null);
144
DesignerActionList
value2 = new(null);
169
DesignerActionList
value = new(null);
172
var array = new
DesignerActionList
[3];
174
Assert.Equal(new
DesignerActionList
[] { null, value, null }, array);
181
DesignerActionList
value = new(null);
192
DesignerActionList
value = new(null);
203
DesignerActionList
value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
23
DesignerActionList
list = new(component);
32
DesignerActionList
list = new(new Component())
63
DesignerActionList
list = new(component);
126
DesignerActionList
list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
23
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb, string expectedDisplayName)
49
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String(
DesignerActionList
actionList, string memberName, string displayName, string category, string description, string expectedDisplayName)
75
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb, string expectedDisplayName)
101
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String(
DesignerActionList
actionList, string memberName, string displayName, string category, string expectedDisplayName)
127
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, bool includeAsDesignerVerb, string expectedDisplayName)
153
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String(
DesignerActionList
actionList, string memberName, string displayName, string expectedDisplayName)
System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
55
public void Add_ComponentDesignerActionList_Success(
DesignerActionList
actionList, DesignerActionListCollection expected)
84
service.Add(component, (
DesignerActionList
)null);
106
Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (
DesignerActionList
)null));
111
public void Add_ComponentDesignerActionListCollection_Success(
DesignerActionList
actionList, DesignerActionListCollection expected)
501
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
545
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
601
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
1039
Assert.Throws<ArgumentNullException>("actionList", () => service.Remove((
DesignerActionList
)null));