19 references to TargetObject
PresentationFramework (19)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2866DocumentGrid targetGrid = args.TargetObject as DocumentGrid;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
1111if (args != null && args.TargetObject != null && Document != null) 1119if (args.TargetObject == document) 1127else if (args.TargetObject is UIElement) 1129targetUIElement = (UIElement)args.TargetObject; 1151else if (args.TargetObject is ContentElement) 1154child = args.TargetObject; 1166rects = ich.GetRectangles((ContentElement)args.TargetObject);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
1147if (args != null && args.TargetObject != null && _document is DependencyObject) 1154if (args.TargetObject == _document) 1162child = args.TargetObject; 1182if (args.TargetObject is UIElement) 1184UIElement targetObject = (UIElement)args.TargetObject; 1205contentPosition = documentPaginator.GetObjectPosition(args.TargetObject); 1209bringIntoViewState = new BringIntoViewState(this, contentPosition, args.TargetObject, args.TargetRect);
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2504Visual child = e.TargetObject as Visual; 2519ContentElement contentElement = e.TargetObject as ContentElement;
src\Framework\System\Windows\Controls\TextBlock.cs (1)
3465ContentElement child = args.TargetObject as ContentElement;
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
753if (e.TargetObject == sender)