128 references to DependencyObjectType
PresentationCore (11)
Core\CSharp\System\Windows\ContentElement.cs (1)
976
private static DependencyObjectType ContentElementType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ContentElement));
Core\CSharp\System\Windows\Generated\ContentElement.cs (1)
710
GlobalEventManager.GetDTypedClassListeners(this.
DependencyObjectType
, e.RoutedEvent);
Core\CSharp\System\Windows\Generated\UIElement.cs (1)
710
GlobalEventManager.GetDTypedClassListeners(this.
DependencyObjectType
, e.RoutedEvent);
Core\CSharp\System\Windows\Generated\UIElement3D.cs (1)
492
GlobalEventManager.GetDTypedClassListeners(this.
DependencyObjectType
, e.RoutedEvent);
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)
Core\CSharp\System\Windows\UIElement.cs (3)
128
SnapsToDevicePixelsCache = (bool) SnapsToDevicePixelsProperty.GetDefaultValue(
DependencyObjectType
);
129
ClipToBoundsCache = (bool) ClipToBoundsProperty.GetDefaultValue(
DependencyObjectType
);
130
VisibilityCache = (Visibility) VisibilityProperty.GetDefaultValue(
DependencyObjectType
);
Core\CSharp\System\Windows\UIElement3D.cs (1)
88
VisibilityCache = (Visibility)VisibilityProperty.GetDefaultValue(
DependencyObjectType
);
PresentationFramework (98)
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\InkCanvasSelection.cs (2)
392
if ( originalElement.
DependencyObjectType
.Id == updatedElement.
DependencyObjectType
.Id )
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
104
PropertyMetadata metadata = _dependencyProperty.GetMetadata(_owner.
DependencyObjectType
);
src\Framework\System\Windows\Controls\Button.cs (1)
30
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Button));
src\Framework\System\Windows\Controls\CheckBox.cs (1)
42
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(CheckBox));
src\Framework\System\Windows\Controls\ComboBox.cs (1)
55
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ComboBox));
src\Framework\System\Windows\Controls\ComboBoxItem.cs (1)
56
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ComboBoxItem));
src\Framework\System\Windows\Controls\ContentControl.cs (1)
48
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ContentControl));
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
112
PropertyMetadata metadata = TemplateProperty.GetMetadata(
DependencyObjectType
);
src\Framework\System\Windows\Controls\ContextMenu.cs (1)
51
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ContextMenu));
src\Framework\System\Windows\Controls\Control.cs (1)
59
PropertyMetadata metadata = TemplateProperty.GetMetadata(
DependencyObjectType
);
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2082
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(DocumentViewer));
src\Framework\System\Windows\Controls\Expander.cs (1)
61
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Expander));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
56
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(FlowDocumentReader));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
61
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(FlowDocumentScrollViewer));
src\Framework\System\Windows\Controls\Frame.cs (1)
129
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Frame));
src\Framework\System\Windows\Controls\Grid.cs (1)
90
SetFlags((bool) ShowGridLinesProperty.GetDefaultValue(
DependencyObjectType
), Flags.ShowGridLinesPropertyValue);
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
96
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(GridSplitter));
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
68
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(GridViewColumnHeader));
src\Framework\System\Windows\Controls\GroupItem.cs (1)
36
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(GroupItem));
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
38
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(HeaderedContentControl));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
66
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ItemsControl));
src\Framework\System\Windows\Controls\Label.cs (1)
54
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Label));
src\Framework\System\Windows\Controls\ListBox.cs (2)
57
SelectionMode mode = (SelectionMode) SelectionModeProperty.GetDefaultValue(
DependencyObjectType
);
64
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ListBox));
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
52
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ListBoxItem));
src\Framework\System\Windows\Controls\Menu.cs (1)
60
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Menu));
src\Framework\System\Windows\Controls\MenuItem.cs (1)
192
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(MenuItem));
src\Framework\System\Windows\Controls\Page.cs (2)
68
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Page));
78
PropertyMetadata metadata = TemplateProperty.GetMetadata(
DependencyObjectType
);
src\Framework\System\Windows\Controls\Panel.cs (2)
50
_zConsonant = (int)ZIndexProperty.GetDefaultValue(
DependencyObjectType
);
1006
int zIndexDefaultValue = (int)ZIndexProperty.GetDefaultValue(
DependencyObjectType
);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
62
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(PasswordBox));
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (1)
34
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(RepeatButton));
src\Framework\System\Windows\Controls\Primitives\ResizeGrip.cs (1)
50
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ResizeGrip));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
692
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ScrollBar));
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
38
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(StatusBar));
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (1)
26
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(StatusBarItem));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
63
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TextBoxBase));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
52
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Thumb));
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
40
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ToggleButton));
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
48
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ProgressBar));
src\Framework\System\Windows\Controls\RadioButton.cs (1)
32
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(RadioButton));
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
50
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(RichTextBox));
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2957
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ScrollViewer));
src\Framework\System\Windows\Controls\Separator.cs (1)
23
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Separator));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
58
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(FlowDocumentPageViewer));
src\Framework\System\Windows\Controls\Slider.cs (1)
81
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Slider));
src\Framework\System\Windows\Controls\TabControl.cs (1)
47
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TabControl));
src\Framework\System\Windows\Controls\TabItem.cs (1)
58
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TabItem));
src\Framework\System\Windows\Controls\TextBox.cs (1)
56
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TextBox));
src\Framework\System\Windows\Controls\ToolBar.cs (1)
73
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ToolBar));
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
51
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ToolBarTray));
src\Framework\System\Windows\Controls\ToolTip.cs (1)
40
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ToolTip));
src\Framework\System\Windows\Controls\TreeView.cs (1)
38
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TreeView));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
38
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(TreeViewItem));
src\Framework\System\Windows\Controls\UserControl.cs (1)
29
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(UserControl));
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
54
_orientation = (Orientation) OrientationProperty.GetDefaultValue(
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 (2)
835
return TargetProperty.GetDefaultValue(target.
DependencyObjectType
);
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\Documents\FixedDocument.cs (1)
1356
private static DependencyObjectType UIElementType =
DependencyObjectType
.FromSystemTypeInternal(typeof(UIElement));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
796
DependencyObjectType t = v.
DependencyObjectType
;
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
52
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Hyperlink));
src\Framework\System\Windows\FrameworkContentElement.cs (1)
74
PropertyMetadata metadata = StyleProperty.GetMetadata(
DependencyObjectType
);
src\Framework\System\Windows\FrameworkElement.cs (7)
124
PropertyMetadata metadata = StyleProperty.GetMetadata(
DependencyObjectType
);
131
if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(
DependencyObjectType
)) == FlowDirection.RightToLeft)
6331
_controlDType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Control));
6344
_contentPresenterDType =
DependencyObjectType
.FromSystemTypeInternal(typeof(ContentPresenter));
6357
_pageDType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Page));
6370
_pageFunctionBaseDType =
DependencyObjectType
.FromSystemTypeInternal(typeof(PageFunctionBase));
6409
internal static DependencyObjectType UIElementDType =
DependencyObjectType
.FromSystemTypeInternal(typeof(UIElement));
src\Framework\System\Windows\FrameworkTemplate.cs (1)
882
dependencyProperty.GetMetadata(dependencyObject.
DependencyObjectType
),
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (1)
1242
internal new static DependencyObjectType DType =
DependencyObjectType
.FromSystemTypeInternal(typeof(FrameworkContentElement));
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
1289
internal new static DependencyObjectType DType =
DependencyObjectType
.FromSystemTypeInternal(typeof(FrameworkElement));
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
964
dependencyProperty.GetMetadata(dependencyObject.
DependencyObjectType
) as FrameworkPropertyMetadata
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
845
value = DP.GetDefaultValue(DO.
DependencyObjectType
);
src\Framework\System\Windows\Navigation\NavigationWindow.cs (1)
169
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(NavigationWindow));
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\TemplateBindingExpression.cs (1)
56
return dp.GetDefaultValue(d.
DependencyObjectType
);
src\Framework\System\Windows\TreeChangeInfo.cs (2)
66
DependencyObjectType treeObjDOT = d.
DependencyObjectType
;
115
PropertyMetadata metadata = dp.GetMetadata(parent.
DependencyObjectType
);
src\Framework\System\Windows\TreeWalkHelper.cs (8)
524
bool containsTypeOfKey = info.Contains(d.
DependencyObjectType
.SystemType, true /*isImplicitStyleKey*/);
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;
src\Framework\System\Windows\Window.cs (1)
96
_dType =
DependencyObjectType
.FromSystemTypeInternal(typeof(Window));
WindowsBase (19)
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\DependencyObjectType.cs (1)
154
DependencyObjectType dType = dependencyObject.
DependencyObjectType
;
Base\System\Windows\DependencyProperty.cs (1)
667
return GetMetadata(dependencyObject.
DependencyObjectType
);
Base\System\Windows\Freezable.cs (1)
480
PropertyMetadata metadata = dp.GetMetadata(
DependencyObjectType
);