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