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