14 references to Content
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ReflectPropertyDescriptor.cs (1)
699
private bool AttributesContainsDesignerVisibilityContent() => Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
);
System.Windows.Forms (2)
System\Windows\Forms\Design\EventsTab.cs (2)
122
specifiedAttributesPlusContent = [DesignerSerializationVisibilityAttribute.
Content
];
128
specifiedAttributesPlusContent[attributes.Length] = DesignerSerializationVisibilityAttribute.
Content
;
System.Windows.Forms.Design (11)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (2)
37
propertyDescriptor.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
))
279
return _propertyDescriptor.ShouldSerializeValue(component) && Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
);
System\ComponentModel\Design\ReferenceService.cs (1)
11
private static readonly Attribute[] s_attributes = [DesignerSerializationVisibilityAttribute.
Content
];
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
586
if (!prop.IsReadOnly || prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
))
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
70
prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
) &&
364
else if (prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
))
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
79
bool serializingContent = (descriptor is not null && descriptor.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
));
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
98
bool serializeContents = propertyToSerialize.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
);
380
if (!propertyToSerialize.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
))
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
178
if (e.Member is not null && e.Member.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
) &&
225
(e.Member?.Attributes is not null && e.Member.Attributes.Contains(DesignerSerializationVisibilityAttribute.
Content
)))