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