19 references to DocumentViewerHelper
PresentationFramework (19)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
420
positionRect =
DocumentViewerHelper
.CalculateVisibleRect(positionRect, textView.RenderScope);
System\Windows\Controls\FlowDocumentReader.cs (4)
1317
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1586
findResult =
DocumentViewerHelper
.Find(findToolBar, textEditor, textEditor.TextView, textEditor.TextView);
1599
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1628
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost);
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
747
DocumentViewerHelper
.OnContextMenuOpening(Document, this, e);
810
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
828
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
934
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1550
findResult =
DocumentViewerHelper
.Find(findToolBar, _textEditor, _textEditor.TextView, _textEditor.TextView);
1558
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1585
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentScrollViewer)sender)._findToolBarHost);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
710
return
DocumentViewerHelper
.Find(findToolBar, _textEditor, _textView, masterPageTextView);
System\Windows\Controls\SinglePageViewer.cs (6)
465
DocumentViewerHelper
.OnContextMenuOpening(Document as FlowDocument, this, e);
788
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
806
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
1146
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1184
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1366
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentPageViewer)sender)._findToolBarHost);