28 instantiations of DesignerActionPropertyItem
System.Windows.Forms.Design (24)
System\ComponentModel\Design\DesignerActionList.cs (1)
61
items.Add(dispName, new
DesignerActionPropertyItem
(info.Name, dispName, cat, desc));
System\ComponentModel\Design\ToolStripContainerActionList.cs (4)
304
new
DesignerActionPropertyItem
(nameof(TopVisible),
309
new
DesignerActionPropertyItem
(nameof(BottomVisible),
314
new
DesignerActionPropertyItem
(nameof(LeftVisible),
319
new
DesignerActionPropertyItem
(nameof(RightVisible),
System\Windows\Forms\Design\ContextMenuStripActionList.cs (3)
99
new
DesignerActionPropertyItem
(
108
items.Add(new
DesignerActionPropertyItem
(
114
items.Add(new
DesignerActionPropertyItem
(
System\Windows\Forms\Design\DataGridViewDesigner.cs (5)
821
DesignerActionPropertyItem chooseDataSource =
new
(
904
new
DesignerActionPropertyItem
(nameof(AllowUserToAddRows), SR.DataGridViewEnableAdding),
905
new
DesignerActionPropertyItem
(nameof(ReadOnly), SR.DataGridViewEnableEditing),
906
new
DesignerActionPropertyItem
(nameof(AllowUserToDeleteRows), SR.DataGridViewEnableDeleting),
907
new
DesignerActionPropertyItem
(nameof(AllowUserToOrderColumns), SR.DataGridViewEnableColumnReordering)
System\Windows\Forms\Design\ImageListActionList.cs (2)
50
new
DesignerActionPropertyItem
(nameof(ImageSize), SR.ImageListActionList_ImageSizeDisplayName, SR.PropertiesCategoryName, SR.ImageListActionList_ImageSizeDescription),
51
new
DesignerActionPropertyItem
(nameof(ColorDepth), SR.ImageListActionList_ColorDepthDisplayName, SR.PropertiesCategoryName, SR.ImageListActionList_ColorDepthDescription),
System\Windows\Forms\Design\ListViewActionList.cs (3)
62
new
DesignerActionPropertyItem
(nameof(View),
66
new
DesignerActionPropertyItem
(nameof(SmallImageList),
70
new
DesignerActionPropertyItem
(nameof(LargeImageList),
System\Windows\Forms\Design\PictureBoxActionList.cs (1)
38
new
DesignerActionPropertyItem
(
System\Windows\Forms\Design\TextBoxActionList.cs (1)
27
new
DesignerActionPropertyItem
(
System\Windows\Forms\Design\ToolStripActionList.cs (3)
161
items.Add(new
DesignerActionPropertyItem
(
170
items.Add(new
DesignerActionPropertyItem
(
179
items.Add(new
DesignerActionPropertyItem
(
System\Windows\Forms\Design\TreeViewActionList.cs (1)
38
new
DesignerActionPropertyItem
(
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\DesignerActionPropertyItemTests.cs (4)
17
DesignerActionPropertyItem item =
new
(memberName, displayName, category, description);
37
DesignerActionPropertyItem item =
new
(memberName, displayName, category);
57
DesignerActionPropertyItem item =
new
(memberName, displayName);
80
DesignerActionPropertyItem item =
new
("memberName", "displayName", "category", "description")
37 references to DesignerActionPropertyItem
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net10.0\System.Design.Forwards.cs (1)
20
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
DesignerActionPropertyItem
))]
System.Windows.Forms.Design (12)
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 (2)
579
if (item is
DesignerActionPropertyItem
propItem)
667
else if (item is
DesignerActionPropertyItem
pti)
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.PropertyLine.cs (3)
27
protected
DesignerActionPropertyItem
? PropertyItem { get; private set; }
113
protected abstract class PropertyLineInfo(DesignerActionList list,
DesignerActionPropertyItem
item) : StandardLineInfo(list)
115
public override
DesignerActionPropertyItem
Item { get; } = item;
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\Windows\Forms\Design\DataGridViewDesigner.cs (1)
821
DesignerActionPropertyItem
chooseDataSource = new(
System.Windows.Forms.Design.Tests (24)
System\ComponentModel\Design\DesignerActionListTests.cs (8)
78
DesignerActionPropertyItem
item2 = Assert.IsType<
DesignerActionPropertyItem
>(items[1]);
90
DesignerActionPropertyItem
item4 = Assert.IsType<
DesignerActionPropertyItem
>(items[3]);
102
DesignerActionPropertyItem
item6 = Assert.IsType<
DesignerActionPropertyItem
>(items[5]);
114
DesignerActionPropertyItem
item8 = Assert.IsType<
DesignerActionPropertyItem
>(items[7]);
System\ComponentModel\Design\DesignerActionPropertyItemTests.cs (4)
17
DesignerActionPropertyItem
item = new(memberName, displayName, category, description);
37
DesignerActionPropertyItem
item = new(memberName, displayName, category);
57
DesignerActionPropertyItem
item = new(memberName, displayName);
80
DesignerActionPropertyItem
item = new("memberName", "displayName", "category", "description")
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (3)
113
var items = _actionList.GetSortedActionItems().Cast<
DesignerActionPropertyItem
>().ToList();
128
var items = _actionList.GetSortedActionItems().Cast<
DesignerActionPropertyItem
>().ToList();
147
var items = _actionList.GetSortedActionItems().Cast<
DesignerActionPropertyItem
>().ToList();
System\Windows\Forms\Design\ImageListActionListTests.cs (2)
73
items[0].Should().BeOfType<
DesignerActionPropertyItem
>();
78
items[1].Should().BeOfType<
DesignerActionPropertyItem
>();
System\Windows\Forms\Design\PictureBoxActionListTests.cs (2)
50
DesignerActionPropertyItem
propertyItem = items[1].Should().BeOfType<
DesignerActionPropertyItem
>().Which;
System\Windows\Forms\Design\TextBoxActionListTests.cs (2)
38
items[0].Should().BeOfType<
DesignerActionPropertyItem
>();
39
((
DesignerActionPropertyItem
)items[0]).MemberName.Should().Be("Multiline");
System\Windows\Forms\Design\ToolStripActionListTests.cs (3)
163
private (List<DesignerActionMethodItem> methodItems, List<
DesignerActionPropertyItem
> propertyItems) GetSortedActionItems()
168
List<
DesignerActionPropertyItem
> propertyItems = itemList.OfType<
DesignerActionPropertyItem
>().ToList();