19 references to DocumentViewerHelper
PresentationFramework (19)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
418positionRect = DocumentViewerHelper.CalculateVisibleRect(positionRect, textView.RenderScope);
System\Windows\Controls\FlowDocumentReader.cs (4)
1313DocumentViewerHelper.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable); 1582findResult = DocumentViewerHelper.Find(findToolBar, textEditor, textEditor.TextView, textEditor.TextView); 1595DocumentViewerHelper.ShowFindUnsuccessfulMessage(findToolBar); 1624DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost);
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
746DocumentViewerHelper.OnContextMenuOpening(Document, this, e); 809if (branchNode != null && DocumentViewerHelper.IsLogicalDescendent(branchNode, document)) 827if (branchNode != null && DocumentViewerHelper.IsLogicalDescendent(branchNode, document)) 933DocumentViewerHelper.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable); 1553findResult = DocumentViewerHelper.Find(findToolBar, _textEditor, _textEditor.TextView, _textEditor.TextView); 1561DocumentViewerHelper.ShowFindUnsuccessfulMessage(findToolBar); 1588DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentScrollViewer)sender)._findToolBarHost);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
694return DocumentViewerHelper.Find(findToolBar, _textEditor, _textView, masterPageTextView);
System\Windows\Controls\SinglePageViewer.cs (6)
462DocumentViewerHelper.OnContextMenuOpening(Document as FlowDocument, this, e); 787if (branchNode != null && DocumentViewerHelper.IsLogicalDescendent(branchNode, document)) 805if (branchNode != null && DocumentViewerHelper.IsLogicalDescendent(branchNode, document)) 1145DocumentViewerHelper.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable); 1183DocumentViewerHelper.ShowFindUnsuccessfulMessage(findToolBar); 1365DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentPageViewer)sender)._findToolBarHost);