Implemented interface member:
property
DocumentViewerOwner
MS.Internal.Documents.IDocumentScrollInfo.DocumentViewerOwner
17 references to DocumentViewerOwner
PresentationFramework (17)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (11)
1306DocumentViewerOwner.Focus(); // text editor needs to be focused when cleared 1309DocumentViewerOwner.IsSelectionEnabled = false; 1327DocumentViewerOwner.IsSelectionEnabled = true; 2554if (DocumentViewerOwner != null) 2556DocumentViewerOwner.InvalidateDocumentScrollInfo(); 2566Invariant.Assert(DocumentViewerOwner != null, "DocumentViewerOwner cannot be null."); 2568if (DocumentViewerOwner != null) 2570DocumentViewerOwner.InvalidatePageViewsInternal(); 2571DocumentViewerOwner.ApplyTemplate(); 3126if (DocumentViewerOwner != null) 3128return DocumentViewerOwner.TextEditor;
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (4)
99if (!(documentGrid.DocumentViewerOwner is DocumentApplicationDocumentViewer)) 103if (documentGrid.DocumentViewerOwner.ContextMenu != null || documentGrid.DocumentViewerOwner.ScrollViewer.ContextMenu != null) 239menuItem.CommandTarget = dg.DocumentViewerOwner; // the text editor expects the commands to come from the DocumentViewer
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
85_uiScope = ((DocumentGrid)scope).DocumentViewerOwner; 222if (_scope is DocumentGrid && ((DocumentGrid)_scope).DocumentViewerOwner is DocumentApplicationDocumentViewer)