22 references to ContentProperty
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
740if (_context.CurrentFrame.XamlType.ContentProperty != null) 744_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 2366else if (parentType.ContentProperty != null) 2368_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty;
System.Xaml (18)
System\Xaml\Parser\XamlPullParser.cs (6)
483if (currentType.ContentProperty is not null && CanAcceptString(currentType.ContentProperty)) 513XamlMember contentProperty = currentType.ContentProperty; 1104prop = _context.CurrentType.ContentProperty; 1127else if (_context.CurrentType.ContentProperty is not null) 1129prop = _context.CurrentType.ContentProperty;
System\Xaml\XamlObjectReader.cs (6)
752if (memberInfo.XamlNode.Member == itemInfo.XamlNode.XamlType.ContentProperty) 1589if (property != containingType.ContentProperty) 1845XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Array.ContentProperty), 1931if (valueType.ContentProperty is null || 1932(valueType.ContentProperty.TypeConverter != BuiltInValueConverter.String && 1933valueType.ContentProperty.TypeConverter != BuiltInValueConverter.Object))
System\Xaml\XamlType.cs (4)
689if (contentWrapper.ContentProperty is not null && 690!contentWrapper.ContentProperty.IsUnknown) 692XamlType contentType = contentWrapper.ContentProperty.Type; 762return BaseType.ContentProperty;
System\Xaml\XamlXmlWriter.cs (2)
1030else if (property == containingType.ContentProperty) 1180else if (property == containingType.ContentProperty)