33 references to InheritedReadOnly
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Container.cs (1)
233if (inheritanceAttribute.InheritanceLevel != InheritanceLevel.InheritedReadOnly)
System\ComponentModel\InheritanceAttribute.cs (1)
30public static readonly InheritanceAttribute InheritedReadOnly = new InheritanceAttribute(InheritanceLevel.InheritedReadOnly);
System.Windows.Forms.Design (17)
System\ComponentModel\Design\ComponentDesigner.cs (1)
69=> InheritanceAttribute!.InheritanceLevel == InheritanceLevel.InheritedReadOnly;
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (2)
493genCode = ia.InheritanceLevel != InheritanceLevel.InheritedReadOnly; 575genCode = ia.InheritanceLevel != InheritanceLevel.InheritedReadOnly;
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
127if (inheritanceLevel != InheritanceLevel.InheritedReadOnly)
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
115if (inheritance.InheritanceLevel != InheritanceLevel.InheritedReadOnly)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
164|| inheritanceAttribute.InheritanceLevel == InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\CommandSet.cs (1)
3087if (attr.InheritanceLevel == InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (3)
133&& inheritanceAttribute.InheritanceLevel != InheritanceLevel.InheritedReadOnly) 168if (inheritanceLevel != InheritanceLevel.InheritedReadOnly) 430if (inheritanceAttribute.InheritanceLevel == InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\InheritanceUI.cs (1)
56if (level == InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
45if (ia.InheritanceLevel == InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
46if (!TypeDescriptorHelper.TryGetAttribute(panel, out InheritanceAttribute? ia) || ia.InheritanceLevel != InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\ToolStripActionList.cs (1)
49|| ia.InheritanceLevel == InheritanceLevel.InheritedReadOnly;
System\Windows\Forms\Design\ToolStripCodeDomSerializer.cs (1)
28if (TypeDescriptorHelper.TryGetAttribute(item, out InheritanceAttribute? ia) && ia.InheritanceLevel != InheritanceLevel.InheritedReadOnly)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
1101if (ia is not null && (ia.InheritanceLevel == InheritanceLevel.Inherited || ia.InheritanceLevel == InheritanceLevel.InheritedReadOnly)) 1129if (ia is not null && (ia.InheritanceLevel == InheritanceLevel.Inherited || ia.InheritanceLevel == InheritanceLevel.InheritedReadOnly))
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\ArrayEditorTests.cs (1)
69yield return new object[] { new InheritanceAttribute(InheritanceLevel.InheritedReadOnly), false };
System\ComponentModel\Design\CollectionEditorTests.cs (1)
79yield return new object[] { new InheritanceAttribute(InheritanceLevel.InheritedReadOnly), false };
System\ComponentModel\Design\CollectionFormTests.cs (1)
467yield return new object[] { new InheritanceAttribute(InheritanceLevel.InheritedReadOnly), false };
System\ComponentModel\Design\DesignerHostTests.cs (4)
384TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 455TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 2575TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 2645TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly));
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
288TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 364TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 711TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly)); 776TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly));
System\Windows\Forms\Design\InheritanceUITests.cs (2)
41[InlineData(InheritanceLevel.InheritedReadOnly, "Inherited control (Private)")] 105[InlineData(InheritanceLevel.InheritedReadOnly, "Inherited control (Private)")]
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
121TypeDescriptor.AddAttributes(_toolStrip, new InheritanceAttribute(InheritanceLevel.InheritedReadOnly));