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