32 references to InheritedReadOnly
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Container.cs (1)
233
if (inheritanceAttribute.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
System\ComponentModel\InheritanceAttribute.cs (1)
30
public 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)
493
genCode = ia.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
;
575
genCode = ia.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
;
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
127
if (inheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
115
if (inheritance.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
164
|| inheritanceAttribute.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\CommandSet.cs (1)
3087
if (attr.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (3)
133
&& inheritanceAttribute.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
168
if (inheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
430
if (inheritanceAttribute.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\InheritanceUI.cs (1)
56
if (level == InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
45
if (ia.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
46
if (!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)
28
if (TypeDescriptorHelper.TryGetAttribute(item, out InheritanceAttribute? ia) && ia.InheritanceLevel != InheritanceLevel.
InheritedReadOnly
)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
1101
if (ia is not null && (ia.InheritanceLevel == InheritanceLevel.Inherited || ia.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
))
1129
if (ia is not null && (ia.InheritanceLevel == InheritanceLevel.Inherited || ia.InheritanceLevel == InheritanceLevel.
InheritedReadOnly
))
System.Windows.Forms.Design.Tests (13)
System\ComponentModel\Design\ArrayEditorTests.cs (1)
69
yield return new object[] { new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
), false };
System\ComponentModel\Design\CollectionEditorTests.cs (1)
79
yield return new object[] { new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
), false };
System\ComponentModel\Design\CollectionFormTests.cs (1)
467
yield return new object[] { new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
), false };
System\ComponentModel\Design\DesignerHostTests.cs (4)
384
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
455
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
2575
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
2645
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
288
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
364
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
711
TypeDescriptor.AddAttributes(readOnlyComponent, new InheritanceAttribute(InheritanceLevel.
InheritedReadOnly
));
776
TypeDescriptor.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)")]