56 references to DO
PresentationFramework (56)
MS\Internal\Data\ObjectRef.cs (12)
165
while (o == null && fo.
DO
!= null)
200
TraceData.Identify(fo.
DO
)));
217
Panel panel = fo.FrameworkParent.
DO
as Panel;
231
ContentControl cc = LogicalTreeHelper.GetParent(fo.
DO
) as ContentControl;
232
if (cc != null && cc.Content == fo.
DO
&& cc.InheritanceBehavior == InheritanceBehavior.Default)
245
for (dd = fo.
DO
; ;)
560
fo.Reset(fo.GetPreferVisualParent(true).
DO
);
562
while (fo.
DO
!= null)
569
TraceData.Identify(fo.
DO
)));
572
if (type.IsInstanceOfType(fo.
DO
)) // found it!
578
fo.Reset(fo.PreferVisualParent.
DO
);
581
return fo.
DO
;
MS\Internal\FrameworkObject.cs (6)
299
while (!fo.IsValid && fo.
DO
!= null)
308
if ((visual = fo.
DO
as Visual) != null)
312
else if ((ce = fo.
DO
as ContentElement) != null)
316
else if ((visual3D = fo.
DO
as Visual3D) != null)
717
fo.
DO
!= null;
720
if (fo.
DO
== d1)
System\Windows\BroadcastEventHelper.cs (2)
595
foreach(object o in LogicalTreeHelper.GetChildren(fo.
DO
))
655
parent = Helper.FindMentor(fo.
DO
.InheritanceContext);
System\Windows\Controls\ItemsControl.cs (5)
1186
fo.Reset(fo.GetPreferVisualParent(true).
DO
);
1189
while (fo.
DO
!= null)
1191
if (IsContainerForItemsControl(fo.
DO
, itemsControl))
1196
fo.Reset(fo.PreferVisualParent.
DO
);
1199
return fo.
DO
;
System\Windows\Data\BindingExpressionBase.cs (2)
1748
while (fo.
DO
!= null)
1750
BindingGroup bgCandidate = (BindingGroup)fo.
DO
.GetValue(bindingGroupDP);
System\Windows\FrameworkElement.cs (7)
1035
element.
DO
,
1112
element.
DO
,
1270
fo.
DO
,
1291
fo.
DO
,
1313
fo.
DO
,
1324
if (boundaryElement != null && (fo.
DO
== boundaryElement))
2272
return fo.
DO
;
System\Windows\FrameworkElementFactory.cs (5)
909
((IAddChild)parent).AddChild(childFrameworkObject.
DO
);
937
FrameworkTemplate.SetTemplateParentValues( Name, frameworkObject.
DO
, _frameworkTemplate, ref provideValueServiceProvider );
948
iAddChild = frameworkObject.
DO
as IAddChild;
952
frameworkObject.
DO
.GetType().Name));
970
AddNodeToParent(frameworkObject.
DO
, childFrameworkObject );
System\Windows\FrameworkTemplate.cs (1)
544
return frameworkObject.
DO
;
System\Windows\Generated\FrameworkContentElement.cs (2)
851
foMentor.
DO
,
885
foMentor.
DO
,
System\Windows\Generated\FrameworkElement.cs (2)
881
foMentor.
DO
,
915
foMentor.
DO
,
System\Windows\StyleHelper.cs (9)
2280
container.
DO
,
3695
DependencyObject target = child.
DO
;
3796
HybridDictionary parentTemplateValues = StyleHelper.ParentTemplateValuesField.GetValue(child.
DO
);
3835
DependencyObject target = fo.
DO
;
3875
fo.
DO
,
3917
fo.
DO
,
3962
fo.
DO
,
4237
PropertyMetadata metadata = dp.GetMetadata(child.
DO
.DependencyObjectType);
4246
child.
DO
.InvalidateProperty(dp);
System\Windows\TreeWalkHelper.cs (3)
47
parent = parentFO.FrameworkParent.
DO
;
916
DependencyObject d = fo.
DO
;
928
OnInheritablePropertyChanged(fo.
DO
, info, visitedViaVisualTree);