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