Implemented interface member:
property
DocumentViewerOwner
MS.Internal.Documents.IDocumentScrollInfo.DocumentViewerOwner
17 references to DocumentViewerOwner
PresentationFramework (17)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (11)
1306
DocumentViewerOwner
.Focus(); // text editor needs to be focused when cleared
1309
DocumentViewerOwner
.IsSelectionEnabled = false;
1327
DocumentViewerOwner
.IsSelectionEnabled = true;
2554
if (
DocumentViewerOwner
!= null)
2556
DocumentViewerOwner
.InvalidateDocumentScrollInfo();
2566
Invariant.Assert(
DocumentViewerOwner
!= null, "DocumentViewerOwner cannot be null.");
2568
if (
DocumentViewerOwner
!= null)
2570
DocumentViewerOwner
.InvalidatePageViewsInternal();
2571
DocumentViewerOwner
.ApplyTemplate();
3126
if (
DocumentViewerOwner
!= null)
3128
return
DocumentViewerOwner
.TextEditor;
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (4)
99
if (!(documentGrid.
DocumentViewerOwner
is DocumentApplicationDocumentViewer))
103
if (documentGrid.
DocumentViewerOwner
.ContextMenu != null || documentGrid.
DocumentViewerOwner
.ScrollViewer.ContextMenu != null)
239
menuItem.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
;
222
if (_scope is DocumentGrid && ((DocumentGrid)_scope).
DocumentViewerOwner
is DocumentApplicationDocumentViewer)