27 references to PropertyDefinition
PresentationFramework (27)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (22)
86return _resourcesParent != null ? typeof(ResourceDictionary) : PropertyDefinition.PropertyType; 132else if (PropertyDefinition.DependencyProperty != null) 139_reader.SetDependencyValue(dpParent, PropertyDefinition.DependencyProperty, Collection); 141else if (PropertyDefinition.AttachedPropertySetter != null) 143PropertyDefinition.AttachedPropertySetter.Invoke(null, new object[] { Parent, Collection }); 145else if (PropertyDefinition.PropertyInfo != null) 147PropertyDefinition.PropertyInfo.SetValue(Parent, 172else if (PropertyDefinition.DependencyProperty != null) 174_defaultCollection = ((DependencyObject)Parent).GetValue(PropertyDefinition.DependencyProperty); 176else if (PropertyDefinition.AttachedPropertyGetter != null) 178_defaultCollection = PropertyDefinition.AttachedPropertyGetter.Invoke(null, new object[] { Parent }); 180else if (PropertyDefinition.PropertyInfo != null) 182if (PropertyDefinition.IsInternal) 186PropertyDefinition.PropertyInfo, 191_reader.ThrowException(SRID.ParserCantGetProperty, PropertyDefinition.Name); 196_defaultCollection = PropertyDefinition.PropertyInfo.GetValue( 211(PropertyDefinition.DependencyProperty == null || PropertyDefinition.DependencyProperty.ReadOnly) && 212(PropertyDefinition.PropertyInfo == null || !PropertyDefinition.PropertyInfo.CanWrite) && 213PropertyDefinition.AttachedPropertySetter == null) 218_reader.ThrowException(SRID.ParserReadOnlyNullProperty, PropertyDefinition.Name);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (5)
3101ThrowException(SRID.ParserReadOnlyProp, holder.PropertyDefinition.Name); 3193ThrowException(SRID.ParserNullPropertyCollection, holder.PropertyDefinition.Name); 3214ThrowException(SRID.ParserPropertyCollectionClosed, holder.PropertyDefinition.Name); 3435element.GetType().ToString(), holder.PropertyDefinition.Name), e); 4929holder.PropertyDefinition.DependencyProperty, ref isMarkupExtension);