52 references to GetMetadata
PresentationCore (3)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (3)
437PropertyMetadata metadata = _dependencyProperty.GetMetadata(targetDO.DependencyObjectType); 1042UIPropertyMetadata uiMetadata = dp.GetMetadata(d.DependencyObjectType) as UIPropertyMetadata; 1109if (dp.GetMetadata(d.DependencyObjectType) is IndependentlyAnimatedPropertyMetadata)
PresentationFramework (27)
src\Framework\MS\Internal\DataStreams.cs (1)
132FrameworkPropertyMetadata metadata = localValueEntry.Property.GetMetadata(element.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\MS\Internal\Ink\DrawingAttributesDefaultValueFactory.cs (1)
95PropertyMetadata metadata = InkCanvas.DefaultDrawingAttributesProperty.GetMetadata(_owner.DependencyObjectType);
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
104PropertyMetadata metadata = _dependencyProperty.GetMetadata(_owner.DependencyObjectType);
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
112PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Controls\Control.cs (1)
59PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Controls\Page.cs (1)
78PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
409FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1058FrameworkPropertyMetadata fwMetaData = TargetProperty.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
172FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (1)
155FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
src\Framework\System\Windows\FrameworkContentElement.cs (1)
74PropertyMetadata metadata = StyleProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\FrameworkElement.cs (1)
124PropertyMetadata metadata = StyleProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\FrameworkTemplate.cs (1)
882dependencyProperty.GetMetadata(dependencyObject.DependencyObjectType),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
964dependencyProperty.GetMetadata(dependencyObject.DependencyObjectType) as FrameworkPropertyMetadata
src\Framework\System\Windows\StyleHelper.cs (4)
3711dp.GetMetadata(target.DependencyObjectType), 3849dp.GetMetadata(target.DependencyObjectType), 4247PropertyMetadata metadata = dp.GetMetadata(child.DO.DependencyObjectType); 5526Expression result = _getExpression(d, dp, dp.GetMetadata(d.DependencyObjectType));
src\Framework\System\Windows\TreeChangeInfo.cs (2)
115PropertyMetadata metadata = dp.GetMetadata(parent.DependencyObjectType); 135dp.GetMetadata(treeObjDOT),
src\Framework\System\Windows\TreeWalkHelper.cs (7)
579(fe.HasImplicitStyleFromResources || fe.Style == FrameworkElement.StyleProperty.GetMetadata(fe.DependencyObjectType).DefaultValue)) 635(fce.HasImplicitStyleFromResources || fce.Style == FrameworkContentElement.StyleProperty.GetMetadata(fce.DependencyObjectType).DefaultValue)) 760(fe.HasImplicitStyleFromResources || fe.Style == FrameworkElement.StyleProperty.GetMetadata(fe.DependencyObjectType).DefaultValue)) 835(fce.HasImplicitStyleFromResources || fce.Style == FrameworkContentElement.StyleProperty.GetMetadata(fce.DependencyObjectType).DefaultValue)) 1129FrameworkPropertyMetadata metadata = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata; 1181FrameworkPropertyMetadata metadata = dp.GetMetadata(fe.DependencyObjectType) as FrameworkPropertyMetadata; 1212FrameworkPropertyMetadata metadata = dp.GetMetadata(fce.DependencyObjectType) as FrameworkPropertyMetadata;
WindowsBase (22)
Base\MS\Internal\FreezableDefaultValueFactory.cs (2)
108Debug.Assert(property.GetMetadata(owner.DependencyObjectType).UsingDefaultValueFactory, 123PropertyMetadata metadata = _property.GetMetadata(_owner.DependencyObjectType);
Base\MS\Internal\ObservableCollectionDefaultValueFactory.cs (2)
79Debug.Assert(property.GetMetadata(owner.DependencyObjectType).UsingDefaultValueFactory, 93PropertyMetadata metadata = _property.GetMetadata(_owner.DependencyObjectType);
Base\System\Windows\DependencyObject.cs (12)
202metadata = dp.GetMetadata(DependencyObjectType); 241metadata = dp.GetMetadata(DependencyObjectType); 274metadata = dp.GetMetadata(DependencyObjectType); 292metadata = dp.GetMetadata(DependencyObjectType); 604return dp.GetMetadata(DependencyObjectType); 631return dp.GetMetadata(DependencyObjectType); 1102PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType); 1156NotifyPropertyChange(new DependencyPropertyChangedEventArgs(dp, dp.GetMetadata(DependencyObjectType), GetValue(dp))); 1228dp.GetMetadata(DependencyObjectType), 2132metadata = dp.GetMetadata(DependencyObjectType); 2149metadata = dp.GetMetadata(DependencyObjectType); 3078PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType);
Base\System\Windows\DependencyProperty.cs (5)
501baseMetadata = GetMetadata(dType.BaseType); 630return GetMetadata(dependencyObjectType).DefaultValue; 641return GetMetadata(DependencyObjectType.FromSystemTypeInternal(forType)).DefaultValue; 653return GetMetadata(DependencyObjectType.FromSystemType(forType)); 667return GetMetadata(dependencyObject.DependencyObjectType);
Base\System\Windows\Freezable.cs (1)
480PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType);