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