19 references to TargetObject
PresentationFramework (19)
MS\Internal\Documents\DocumentGrid.cs (1)
2808
DocumentGrid targetGrid = args.
TargetObject
as DocumentGrid;
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
1100
if (args != null && args.
TargetObject
!= null && Document != null)
1108
if (args.
TargetObject
== document)
1116
else if (args.
TargetObject
is UIElement)
1118
targetUIElement = (UIElement)args.
TargetObject
;
1140
else if (args.
TargetObject
is ContentElement)
1143
child = args.
TargetObject
;
1155
rects = ich.GetRectangles((ContentElement)args.
TargetObject
);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
1130
if (args != null && args.
TargetObject
!= null && _document is DependencyObject)
1137
if (args.
TargetObject
== _document)
1145
child = args.
TargetObject
;
1165
if (args.
TargetObject
is UIElement)
1167
UIElement targetObject = (UIElement)args.
TargetObject
;
1188
contentPosition = documentPaginator.GetObjectPosition(args.
TargetObject
);
1192
bringIntoViewState = new BringIntoViewState(this, contentPosition, args.
TargetObject
, args.TargetRect);
System\Windows\Controls\ScrollViewer.cs (2)
2456
Visual child = e.
TargetObject
as Visual;
2471
ContentElement contentElement = e.
TargetObject
as ContentElement;
System\Windows\Controls\TextBlock.cs (1)
3466
ContentElement child = args.
TargetObject
as ContentElement;
System\Windows\Controls\TreeViewItem.cs (1)
748
if (e.
TargetObject
== sender)