24 types derived from DesignerActionList
DesignSurface (1)
CustomControls\CustomButtonDesignerActionList.cs (1)
10
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)
129
private class SubDesignerActionList :
DesignerActionList
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (1)
238
private class SubDesignerActionList :
DesignerActionList
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
1060
private class CustomDesignerActionList :
DesignerActionList
1071
private class NullCustomDesignerActionList :
DesignerActionList
32 instantiations of DesignerActionList
System.Windows.Forms.Design.Tests (32)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (14)
18
yield return new object[] { new DesignerActionList[] {
new
(null), null } };
40
DesignerActionList value1 =
new
(null);
47
DesignerActionList value2 =
new
(null);
98
DesignerActionList value1 =
new
(null);
105
DesignerActionList value2 =
new
(null);
121
DesignerActionList value =
new
(null);
141
DesignerActionList value1 =
new
(null);
142
DesignerActionList value2 =
new
(null);
167
DesignerActionList value =
new
(null);
179
DesignerActionList value =
new
(null);
182
Assert.False(collection.Contains(new
DesignerActionList
(null)));
190
DesignerActionList value =
new
(null);
193
Assert.Equal(-1, collection.IndexOf(new
DesignerActionList
(null)));
201
DesignerActionList value =
new
(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
21
DesignerActionList list =
new
(component);
30
DesignerActionList list =
new
(new Component())
61
DesignerActionList list =
new
(component);
124
DesignerActionList list =
new
(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
13
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "description", false, "displayName" };
14
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", true, "displayName" };
39
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "description", "displayName" };
40
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "description", "displayName" };
65
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", false, "displayName" };
66
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", true, "displayName" };
91
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "category", "displayName" };
92
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "cate(&a)gory", "displayName" };
117
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", false, "displayName" };
118
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", true, "displayName" };
143
yield return new object[] { new
DesignerActionList
(null), "memberName", "displayName", "displayName" };
144
yield return new object[] { new
DesignerActionList
(null), "member(&a)Name", "displa(&a)yName", "displayName" };
System\ComponentModel\Design\DesignerActionServiceTests.cs (2)
46
yield return new object[] { new
DesignerActionList
(null), new DesignerActionListCollection() };
442
DesignerActionListCollection 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)
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)
12
private readonly
DesignerActionList
_actionList;
15
public DesignerActionMethodItem(
DesignerActionList
actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb)
23
public DesignerActionMethodItem(
DesignerActionList
actionList, string memberName, string displayName) : this(actionList, memberName, displayName, null, null, false)
27
public DesignerActionMethodItem(
DesignerActionList
actionList, string memberName, string displayName, bool includeAsDesignerVerb) : this(actionList, memberName, displayName, null, null, includeAsDesignerVerb)
31
public DesignerActionMethodItem(
DesignerActionList
actionList, string memberName, string displayName, string category) : this(actionList, memberName, displayName, category, null, false)
35
public DesignerActionMethodItem(
DesignerActionList
actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb) : this(actionList, memberName, displayName, category, null, includeAsDesignerVerb)
39
public 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)
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)
17
yield return new object[] { Array.Empty<
DesignerActionList
>() };
18
yield return new object[] { new
DesignerActionList
[] { new(null), null } };
23
public void DesignerActionListCollection_Ctor_DesignerActionListArray(
DesignerActionList
[] value)
40
DesignerActionList
value1 = new(null);
47
DesignerActionList
value2 = new(null);
61
public void DesignerActionListCollection_AddRange_DesignerActionListArray_Success(
DesignerActionList
[] value)
74
public void DesignerActionListCollection_AddRange_DesignerActionListCollection_Success(
DesignerActionList
[] value)
89
Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((
DesignerActionList
[])null));
98
DesignerActionList
value1 = new(null);
105
DesignerActionList
value2 = new(null);
121
DesignerActionList
value = new(null);
141
DesignerActionList
value1 = new(null);
142
DesignerActionList
value2 = new(null);
167
DesignerActionList
value = new(null);
170
var array = new
DesignerActionList
[3];
172
Assert.Equal(new
DesignerActionList
[] { null, value, null }, array);
179
DesignerActionList
value = new(null);
190
DesignerActionList
value = new(null);
201
DesignerActionList
value = new(null);
System\ComponentModel\Design\DesignerActionListTests.cs (4)
21
DesignerActionList
list = new(component);
30
DesignerActionList
list = new(new Component())
61
DesignerActionList
list = new(component);
124
DesignerActionList
list = new(null);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (6)
21
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, string category, string description, bool includeAsDesignerVerb, string expectedDisplayName)
47
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_String(
DesignerActionList
actionList, string memberName, string displayName, string category, string description, string expectedDisplayName)
73
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, string category, bool includeAsDesignerVerb, string expectedDisplayName)
99
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_String(
DesignerActionList
actionList, string memberName, string displayName, string category, string expectedDisplayName)
125
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String_Bool(
DesignerActionList
actionList, string memberName, string displayName, bool includeAsDesignerVerb, string expectedDisplayName)
151
public void DesignerActionMethodItem_Ctor_DesignerActionList_String_String(
DesignerActionList
actionList, string memberName, string displayName, string expectedDisplayName)
System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
53
public void Add_ComponentDesignerActionList_Success(
DesignerActionList
actionList, DesignerActionListCollection expected)
82
service.Add(component, (
DesignerActionList
)null);
104
Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (
DesignerActionList
)null));
109
public void Add_ComponentDesignerActionListCollection_Success(
DesignerActionList
actionList, DesignerActionListCollection expected)
499
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
543
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
599
DesignerActionList
actionList = Assert.IsAssignableFrom<
DesignerActionList
>(Assert.Single(actionListBuffer));
1037
Assert.Throws<ArgumentNullException>("actionList", () => service.Remove((
DesignerActionList
)null));