45 references to OwnerType
PresentationFramework (27)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
76targetDP.OwnerType == typeof(LiveShapingList)
src\Framework\System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (1)
102Type ownerType = dp.OwnerType;
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2241if (TargetProperty.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
760propertyName = property.OwnerType == typeof(Typography) ? "Typography." + property.Name : property.Name; 984!TextSchema.IsKnownType(locallySetProperty.OwnerType)) 1135propertyName = property.OwnerType.Name + "." + property.Name;
src\Framework\System\Windows\FrameworkContentElement.cs (1)
720if (dp != null && dp.OwnerType == typeof(PresentationSource) && dp.Name == "RootSource")
src\Framework\System\Windows\FrameworkElement.cs (1)
2082if (dp != null && dp.OwnerType == typeof(PresentationSource) && dp.Name == "RootSource")
src\Framework\System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
23System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(dp.OwnerType),
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
305wpfXamlType = System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(property.OwnerType) as WpfXamlType; 309wpfXamlType = System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(property.OwnerType) as WpfXamlType;
src\Framework\System\Windows\Markup\BamlReader.cs (2)
1064declaringType = declaringType == null ? _propertyDP.OwnerType : declaringType; 2413typeName = dp.OwnerType.Name;
src\Framework\System\Windows\Markup\BamlWriter.cs (2)
393propNode.ValueDeclaringType = _dpProperty.OwnerType; 394string propAssemblyName = _dpProperty.OwnerType.Assembly.FullName;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
226Type ownerType = dpd.DependencyProperty.OwnerType;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (6)
217scope.MakeAddressable(property.DependencyProperty.OwnerType); 561string typeUri = scope.MakeAddressable(dependencyProperty.OwnerType); 583string localName = dependencyProperty.OwnerType.Name + "." + dependencyProperty.Name; 619scope.MakeAddressable(property.DependencyProperty.OwnerType); 717string dpUri = scope.MakeAddressable(property.DependencyProperty.OwnerType); 718WritePropertyStart(scope.GetPrefixOf(dpUri), property.DependencyProperty.OwnerType.Name + "." + property.DependencyProperty.Name, dpUri);
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (2)
123schemaContext.GetXamlType(property.OwnerType).GetMember(property.Name); 126schemaContext.GetXamlType(property.OwnerType).GetAttachableMember(property.Name);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2222validType = ((DependencyProperty)propertyMember).OwnerType;
src\Framework\System\Windows\PropertyPathConverter.cs (1)
229type = dp.OwnerType;
src\Framework\System\Windows\Setter.cs (1)
132throw new ArgumentException(SR.Get(SRID.InvalidSetterValue, value, dp.OwnerType, dp.Name));
WindowsBase (18)
Base\MS\Internal\ComponentModel\AttachInfo.cs (1)
145TypeDescriptionProvider typeProvider = TypeDescriptor.GetProvider(_dp.OwnerType);
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (4)
60: base(string.Concat(dp.OwnerType.Name, ".", dp.Name), null) 401Type reflectionType = TypeDescriptor.GetReflectionType(dp.OwnerType); 568Type reflectionType = TypeDescriptor.GetReflectionType(dp.OwnerType); 614reflectionType = TypeDescriptor.GetReflectionType(_dp.OwnerType);
Base\MS\Internal\ComponentModel\DependencyPropertyKind.cs (3)
75_dp.OwnerType.GetProperty(_dp.Name, _dp.PropertyType) == null) 111if (_dp.OwnerType == _targetType || _dp.OwnerType.IsAssignableFrom(_targetType) || DependencyProperty.FromName(_dp.Name, _targetType) != _dp)
Base\System\Windows\DependencyObject.cs (1)
1693dp.OwnerType != metadata.CoerceValueCallback.Method.DeclaringType) // Need 2nd check to rule out derived class callback overrides.
Base\System\Windows\DependencyProperty.cs (1)
322dp.OwnerType );
Base\System\Windows\DependencyPropertyValueSerializer.cs (2)
41return typeSerializer.ConvertToString(property.OwnerType, context) + "." + property.Name; 53return new Type[] { property.OwnerType };
Base\System\Windows\Freezable.cs (1)
2087&& property.OwnerType.FullName == "System.Windows.Media.VisualBrush"
Base\System\Windows\Markup\TypeConverterHelper.cs (2)
62memberInfo = dp.OwnerType.GetProperty( 73memberInfo = dp.OwnerType.GetMethod(
Base\System\Windows\PropertyMetadata.cs (3)
457dp.OwnerType); 488dp.OwnerType); 520dp.OwnerType,