19 references to TargetObject
PresentationFramework (19)
MS\Internal\Documents\DocumentGrid.cs (1)
2815
DocumentGrid targetGrid = args.
TargetObject
as DocumentGrid;
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
1103
if (args != null && args.
TargetObject
!= null && Document != null)
1111
if (args.
TargetObject
== document)
1119
else if (args.
TargetObject
is UIElement)
1121
targetUIElement = (UIElement)args.
TargetObject
;
1143
else if (args.
TargetObject
is ContentElement)
1146
child = args.
TargetObject
;
1158
rects = ich.GetRectangles((ContentElement)args.
TargetObject
);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
1135
if (args != null && args.
TargetObject
!= null && _document is DependencyObject)
1142
if (args.
TargetObject
== _document)
1150
child = args.
TargetObject
;
1170
if (args.
TargetObject
is UIElement)
1172
UIElement targetObject = (UIElement)args.
TargetObject
;
1193
contentPosition = documentPaginator.GetObjectPosition(args.
TargetObject
);
1197
bringIntoViewState = new BringIntoViewState(this, contentPosition, args.
TargetObject
, args.TargetRect);
System\Windows\Controls\ScrollViewer.cs (2)
2464
Visual child = e.
TargetObject
as Visual;
2479
ContentElement contentElement = e.
TargetObject
as ContentElement;
System\Windows\Controls\TextBlock.cs (1)
3476
ContentElement child = args.
TargetObject
as ContentElement;
System\Windows\Controls\TreeViewItem.cs (1)
752
if (e.
TargetObject
== sender)